mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
remove two more linux-specific overloads and fix the call that was requiring them
This commit is contained in:
parent
ce138d71cd
commit
a66c0d1f3e
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user