remove two more linux-specific overloads and fix the call that was requiring them

This commit is contained in:
Thomas Fussell 2017-01-05 08:09:08 -05:00
parent 1047a35581
commit e9c8116b0d
2 changed files with 1 additions and 15 deletions

View File

@ -643,20 +643,6 @@ XLNT_API std::uint64_t cell::value() const
return static_cast<std::uint64_t>(d_->value_numeric_);
}
#ifdef __linux
template <>
XLNT_API long long cell::value() const
{
return static_cast<long long>(d_->value_numeric_);
}
template <>
XLNT_API unsigned long long cell::value() const
{
return static_cast<unsigned long long>(d_->value_numeric_);
}
#endif
template <>
XLNT_API float cell::value() const
{

View File

@ -2190,7 +2190,7 @@ void xlsx_producer::write_worksheet(const relationship &rel)
if (is_integral(cell.value<long double>()))
{
serializer().characters(cell.value<long long>());
serializer().characters(cell.value<std::int64_t>());
}
else
{