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:
parent
c4c6adce6d
commit
f5bdc4b9dc
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user