From f5bdc4b9dc7f4d1981b2d0d4b4a0ae22b9e895d4 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Sat, 6 Feb 2010 12:02:24 +0000 Subject: 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 --- src/pugixml.cpp | 2 +- src/pugixpath.cpp | 2 +- 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(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(c)] & ct); } -- cgit v1.2.3