aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkUtils.h
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-12-21 16:31:23 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-12-21 16:31:23 +0000
commitcf4b8181c9bbeb0273dc7459163552bd42a6518d (patch)
tree8ad5dc749cd9d5b37dd0026184dcdc478d5d7921 /include/core/SkUtils.h
parentbb47232dce843aa2c5e49f86e1895d895826f476 (diff)
declare IsVariationSelector to be inline, to fix warning
git-svn-id: http://skia.googlecode.com/svn/trunk@2917 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkUtils.h')
-rw-r--r--include/core/SkUtils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkUtils.h b/include/core/SkUtils.h
index 84528b205b..37dd755b7d 100644
--- a/include/core/SkUtils.h
+++ b/include/core/SkUtils.h
@@ -91,7 +91,7 @@ size_t SkUTF16_FromUnichar(SkUnichar uni, uint16_t utf16[] = NULL);
size_t SkUTF16_ToUTF8(const uint16_t utf16[], int numberOf16BitValues,
char utf8[] = NULL);
-static bool SkUnichar_IsVariationSelector(SkUnichar uni) {
+inline bool SkUnichar_IsVariationSelector(SkUnichar uni) {
/* The 'true' ranges are:
* 0x180B <= uni <= 0x180D
* 0xFE00 <= uni <= 0xFE0F