From c963bb2a3e73130fffebe26b9b0328c7e47fe2a0 Mon Sep 17 00:00:00 2001 From: qPCR4vir Date: Thu, 24 Mar 2016 03:43:39 +0100 Subject: [PATCH] fix error with compiling with gcc in Linux --- source/deploy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/deploy.cpp b/source/deploy.cpp index bf2f69d2..8054c07d 100644 --- a/source/deploy.cpp +++ b/source/deploy.cpp @@ -569,7 +569,7 @@ namespace nana if (!is_utf8(text.c_str(), text.length())) { utf8_Error(std::string("The text is not encoded in UTF8: ") + text).emit(); - text.swap(recode_to_utf8(text)); + text=recode_to_utf8(text); return true; /// it needed change, it needed review !! } else