aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJaeseung Ha <ipknhama@gmail.com>2016-05-23 21:47:47 +0900
committerJaeseung Ha <ipknhama@gmail.com>2016-05-23 21:47:47 +0900
commitf96f65938dcf4d6ad7e6fd95a0cf5c3537970015 (patch)
treed96767310140060e0b9066c023d52214ca63b83c /include
parent975205075dd61dcdfff4a206b10a6ac14e87f954 (diff)
parent34112749eb4bf6b316bb551e79273ae000476474 (diff)
downloadcrow-f96f65938dcf4d6ad7e6fd95a0cf5c3537970015.tar.gz
crow-f96f65938dcf4d6ad7e6fd95a0cf5c3537970015.zip
Merge pull request #113 from pierobot/master
Added inline to get_type_str
Diffstat (limited to 'include')
-rw-r--r--include/json.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/json.h b/include/json.h
index 6f9fec9..7d840fa 100644
--- a/include/json.h
+++ b/include/json.h
@@ -82,7 +82,7 @@ namespace crow
Object,
};
- const char* get_type_str(type t) {
+ inline const char* get_type_str(type t) {
switch(t){
case type::Number: return "Number";
case type::False: return "False";