diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-09-13 19:01:11 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-09-13 19:01:11 +0000 |
commit | 0b60037afccd5f22339658bc9c9a3bc2feae46ec (patch) | |
tree | 1cdda0b2ba355c943e85d108c84f9bdbc5a54247 | |
parent | 72bc1f0807f2f5a2c03ed150cf381a74e989c783 (diff) |
XPath: Fixed MSVC7 compilation, removed redundant include
git-svn-id: http://pugixml.googlecode.com/svn/trunk@724 99668b35-9821-0410-8761-19e4c4f06640
-rw-r--r-- | src/pugixml.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp index c57ddae..228dd9e 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -5049,7 +5049,7 @@ namespace // Converts symbol to lower case, if it is an ASCII one char_t tolower_ascii(char_t ch) { - return static_cast<unsigned int>(ch - 'A') < 26 ? (ch | ' ') : ch; + return static_cast<unsigned int>(ch - 'A') < 26 ? static_cast<char_t>(ch | ' ') : ch; } xpath_string string_value(const xpath_node& na, xpath_allocator* alloc) @@ -5759,8 +5759,6 @@ namespace } // Internal node set class -#include <algorithm> - namespace { using namespace pugi; |