From 86002b5338291b57ed885f9856da86c5c4bb0577 Mon Sep 17 00:00:00 2001 From: Xpol Wan Date: Wed, 15 Jun 2016 11:30:51 +0800 Subject: [PATCH] Add XLNT_CLASS to utf8string to fixes the linking error. --- include/xlnt/utils/utf8string.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/xlnt/utils/utf8string.hpp b/include/xlnt/utils/utf8string.hpp index 638445bb..7efc3a7d 100644 --- a/include/xlnt/utils/utf8string.hpp +++ b/include/xlnt/utils/utf8string.hpp @@ -25,10 +25,11 @@ #include #include +#include // for XLNT_CLASS namespace xlnt { -class utf8string +class XLNT_CLASS utf8string { public: static utf8string from_utf8(const std::string &s);