summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-02-06 12:02:24 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-02-06 12:02:24 +0000
commitf5bdc4b9dc7f4d1981b2d0d4b4a0ae22b9e895d4 (patch)
tree12479830be0edcc162559ea3d72a6d441436fd8b
parentc4c6adce6db8fcf12f6df37f638f1aded614b942 (diff)
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
-rw-r--r--src/pugixml.cpp2
-rw-r--r--src/pugixpath.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index e64639b..1472b7d 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -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);
}
diff --git a/src/pugixpath.cpp b/src/pugixpath.cpp
index 4261945..fce7459 100644
--- a/src/pugixpath.cpp
+++ b/src/pugixpath.cpp
@@ -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);
}