diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-05-08 21:35:42 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-05-08 21:35:42 +0000 |
commit | 664638059a1a680d7d8cdfa1ac30430debb4a4fc (patch) | |
tree | 294891aeb837f3b0e931f08a9a894a6962213b2f /src/pugixml.cpp | |
parent | 44a8f9ea1dcbb19f38fa5a781a6b77b85c602d97 (diff) |
Minor coverage improvements
git-svn-id: http://pugixml.googlecode.com/svn/trunk@392 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixml.cpp')
-rw-r--r-- | src/pugixml.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp index 01ef4cb..346a326 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -207,12 +207,14 @@ namespace pugi return (find == 1 && *dst == 0 && *src == 0);
}
+#ifdef PUGIXML_WCHAR_MODE
// Convert string to wide string, assuming all symbols are ASCII
void widen_ascii(wchar_t* dest, const char* source)
{
for (const char* i = source; *i; ++i) *dest++ = *i;
*dest = 0;
}
+#endif
}
}
|