fixes to build with gcc 3.3 on GNU Darwin

This commit is contained in:
jez_higgins 2006-05-19 21:27:35 +00:00
parent 76a6dd8d45
commit fd5531985e

View file

@ -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