diff options
Diffstat (limited to 'src/mgr/encfiltmgr.cpp')
-rw-r--r-- | src/mgr/encfiltmgr.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mgr/encfiltmgr.cpp b/src/mgr/encfiltmgr.cpp index ab55de9..8360248 100644 --- a/src/mgr/encfiltmgr.cpp +++ b/src/mgr/encfiltmgr.cpp @@ -31,6 +31,8 @@ #include <swmgr.h> +SWORD_NAMESPACE_START + /****************************************************************************** * EncodingFilterMgr Constructor - initializes instance of EncodingFilterMgr * @@ -80,7 +82,7 @@ void EncodingFilterMgr::AddRawFilters(SWModule *module, ConfigEntMap §ion) { ConfigEntMap::iterator entry; - string encoding = ((entry = section.find("Encoding")) != section.end()) ? (*entry).second : (string)""; + std::string encoding = ((entry = section.find("Encoding")) != section.end()) ? (*entry).second : (std::string)""; if (encoding.empty() || !stricmp(encoding.c_str(), "Latin-1")) { module->AddRawFilter(latin1utf8); } @@ -146,3 +148,5 @@ char EncodingFilterMgr::Encoding(char enc) { } return encoding; } + +SWORD_NAMESPACE_END |