0
0
mirror of https://github.com/zeux/pugixml.git synced 2024-12-28 06:10:55 +08:00

Added inline directive to ischartype in case automatic inlining is not enabled

git-svn-id: http://pugixml.googlecode.com/svn/trunk@247 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
arseny.kapoulkine 2010-02-06 12:02:24 +00:00
parent c4c6adce6d
commit f5bdc4b9dc
2 changed files with 2 additions and 2 deletions

View File

@ -289,7 +289,7 @@ namespace
192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192
};
bool is_chartype(char c, chartype ct)
inline bool is_chartype(char c, chartype ct)
{
return !!(chartype_table[static_cast<unsigned char>(c)] & ct);
}

View File

@ -64,7 +64,7 @@ namespace
10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10
};
bool is_chartypex(char c, chartypex ct)
inline bool is_chartypex(char c, chartypex ct)
{
return !!(chartypex_table[static_cast<unsigned char>(c)] & ct);
}