summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);
}