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 committed by alaw
parent ce138d71cd
commit a66c0d1f3e
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
{