aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar humper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-09 21:55:47 +0000
committerGravatar humper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-09 21:55:47 +0000
commit807863839fd5fb9a3fac603241515863dc0790c0 (patch)
treebedf6d66f54766928d22f9753f3900cf83f04200 /include
parentb088947f27496a9b9dc48a7cfb170f9d59589825 (diff)
avoid introducing duplicate const in release builds
git-svn-id: http://skia.googlecode.com/svn/trunk@9945 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r--include/utils/SkRTConf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/utils/SkRTConf.h b/include/utils/SkRTConf.h
index c34dafb796..ea6e99ed89 100644
--- a/include/utils/SkRTConf.h
+++ b/include/utils/SkRTConf.h
@@ -54,7 +54,7 @@ protected:
#define SK_CONF_DECLARE(confType, varName, confName, defaultValue, description) static SkRTConf<confType> varName(confName, defaultValue, description)
#define SK_CONF_SET(confname, value) skRTConfRegistry().set(confname, value)
#else
-#define SK_CONF_DECLARE(confType, varName, confName, defaultValue, description) static const confType varName = defaultValue
+#define SK_CONF_DECLARE(confType, varName, confName, defaultValue, description) static confType varName = defaultValue
#define SK_CONF_SET(confname, value) (void) confname, (void) value
#endif