From e9c8116b0d05ff67067aefd02199a41b79c114bc Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Thu, 5 Jan 2017 08:09:08 -0500 Subject: [PATCH] remove two more linux-specific overloads and fix the call that was requiring them --- source/cell/cell.cpp | 14 -------------- source/detail/xlsx_producer.cpp | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/source/cell/cell.cpp b/source/cell/cell.cpp index ff220b8b..8c21c9a1 100644 --- a/source/cell/cell.cpp +++ b/source/cell/cell.cpp @@ -643,20 +643,6 @@ XLNT_API std::uint64_t cell::value() const return static_cast(d_->value_numeric_); } -#ifdef __linux -template <> -XLNT_API long long cell::value() const -{ - return static_cast(d_->value_numeric_); -} - -template <> -XLNT_API unsigned long long cell::value() const -{ - return static_cast(d_->value_numeric_); -} -#endif - template <> XLNT_API float cell::value() const { diff --git a/source/detail/xlsx_producer.cpp b/source/detail/xlsx_producer.cpp index a62564a9..bf46af07 100644 --- a/source/detail/xlsx_producer.cpp +++ b/source/detail/xlsx_producer.cpp @@ -2190,7 +2190,7 @@ void xlsx_producer::write_worksheet(const relationship &rel) if (is_integral(cell.value())) { - serializer().characters(cell.value()); + serializer().characters(cell.value()); } else {