From fd5531985ebf8bb5d407cdab9c42832595f4b620 Mon Sep 17 00:00:00 2001 From: jez_higgins <> Date: Fri, 19 May 2006 21:27:35 +0000 Subject: [PATCH] fixes to build with gcc 3.3 on GNU Darwin --- Utils/StringAdaptor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utils/StringAdaptor.h b/Utils/StringAdaptor.h index d59a9387..27efe790 100644 --- a/Utils/StringAdaptor.h +++ b/Utils/StringAdaptor.h @@ -83,7 +83,7 @@ public: static const std::locale& utf8ucs2_locale() { #ifndef ARABICA_VS6_WORKAROUND - static const std::locale loc(std::locale(), new Arabica::convert::utf8ucs2codecvt()); + static const std::locale loc = std::locale(std::locale(), new Arabica::convert::utf8ucs2codecvt); #else static const std::locale loc(std::_Addfac(std::locale(), new Arabica::convert::utf8ucs2codecvt())); #endif