aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSiva Chandran <siva.chandran@realimage.com>2015-04-25 12:07:24 +0530
committerSiva Chandran <siva.chandran@realimage.com>2015-04-25 12:07:24 +0530
commita0ffd76e9ce00af835eb5d19a4f21f88ee6d7ea4 (patch)
treebd2013f7b3aadd0aea7afb0acba64e5be50dd8f1 /include
parente99cec63a1232487d4e31a469c35f99ea7b572de (diff)
downloadcrow-a0ffd76e9ce00af835eb5d19a4f21f88ee6d7ea4.tar.gz
crow-a0ffd76e9ce00af835eb5d19a4f21f88ee6d7ea4.zip
Made all parameter_tag related functions into static inline instead of constexpr.
Diffstat (limited to 'include')
-rw-r--r--include/utility.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/utility.h b/include/utility.h
index ef66ca2..cf12158 100644
--- a/include/utility.h
+++ b/include/utility.h
@@ -163,7 +163,7 @@ struct parameter_tag<t> \
: sub_value;
};
- constexpr bool is_parameter_tag_compatible(uint64_t a, uint64_t b)
+ static inline bool is_parameter_tag_compatible(uint64_t a, uint64_t b)
{
if (a == 0)
return b == 0;
@@ -178,7 +178,7 @@ struct parameter_tag<t> \
return is_parameter_tag_compatible(a/6, b/6);
}
- constexpr unsigned find_closing_tag_runtime(const char* s, unsigned p)
+ static inline unsigned find_closing_tag_runtime(const char* s, unsigned p)
{
return
s[p] == 0