0
0
mirror of https://github.com/zeux/pugixml.git synced 2025-01-17 12:58:11 +08:00

XPath: Fixed MSVC7 compilation, removed redundant include

git-svn-id: http://pugixml.googlecode.com/svn/trunk@724 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
arseny.kapoulkine 2010-09-13 19:01:11 +00:00
parent 72bc1f0807
commit 0b60037afc

View File

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