aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorpierobot <Xv24xt@airmail.cc>2016-01-12 13:43:16 -0600
committerpierobot <Xv24xt@airmail.cc>2016-01-12 13:43:16 -0600
commit34112749eb4bf6b316bb551e79273ae000476474 (patch)
tree63129e7b67f102967d63ccb58b16e04a8c92e8ab /include
parent206ecc77601725f3b3a34f28c58b00b835177148 (diff)
downloadcrow-34112749eb4bf6b316bb551e79273ae000476474.tar.gz
crow-34112749eb4bf6b316bb551e79273ae000476474.zip
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";