move string constants into XMLStorage namespace

svn path=/trunk/; revision=23399
This commit is contained in:
Martin Fuchs 2006-07-31 23:46:20 +00:00
parent 8cb05b5ab7
commit 0887b49c1b
2 changed files with 6 additions and 6 deletions

View file

@ -44,6 +44,9 @@
#include <precomp.h>
namespace XMLStorage {
// work around GCC's wide string constant bug
#ifdef __GNUC__
const LPCXSSTR XMLStorage::XS_EMPTY = XS_EMPTY_STR;
@ -54,9 +57,6 @@ const LPCXSSTR XMLStorage::XS_FLOATFMT = XS_FLOATFMT_STR;
#endif
namespace XMLStorage {
/// remove escape characters from zero terminated string
static std::string unescape(const char* s, char b, char e)
{

View file

@ -44,6 +44,9 @@
#include <precomp.h>
namespace XMLStorage {
// work around GCC's wide string constant bug
#ifdef __GNUC__
const LPCXSSTR XMLStorage::XS_EMPTY = XS_EMPTY_STR;
@ -54,9 +57,6 @@ const LPCXSSTR XMLStorage::XS_FLOATFMT = XS_FLOATFMT_STR;
#endif
namespace XMLStorage {
/// remove escape characters from zero terminated string
static std::string unescape(const char* s, char b, char e)
{