diff options
author | ipknHama <ipknhama@gmail.com> | 2014-08-08 01:14:27 +0900 |
---|---|---|
committer | ipknHama <ipknhama@gmail.com> | 2014-08-08 01:14:27 +0900 |
commit | 001c66b378d200bdecc8a4a692c5a73a7d426b8f (patch) | |
tree | 110f1a6596242b7837c16f88b4838d6fd93dc93c /include/json.h | |
parent | c36aa219e25e26019035fe3465471fd510778422 (diff) | |
download | crow-001c66b378d200bdecc8a4a692c5a73a7d426b8f.tar.gz crow-001c66b378d200bdecc8a4a692c5a73a7d426b8f.zip |
amalgamation added
Diffstat (limited to 'include/json.h')
-rw-r--r-- | include/json.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/json.h b/include/json.h index bcfa24e..9306e2a 100644 --- a/include/json.h +++ b/include/json.h @@ -159,27 +159,27 @@ namespace crow friend rvalue crow::json::load(const char* data, size_t size); }; - bool operator < (const r_string& l, const r_string& r) + inline bool operator < (const r_string& l, const r_string& r) { return boost::lexicographical_compare(l,r); } - bool operator < (const r_string& l, const std::string& r) + inline bool operator < (const r_string& l, const std::string& r) { return boost::lexicographical_compare(l,r); } - bool operator > (const r_string& l, const std::string& r) + inline bool operator > (const r_string& l, const std::string& r) { return boost::lexicographical_compare(r,l); } - bool operator == (const r_string& l, const r_string& r) + inline bool operator == (const r_string& l, const r_string& r) { return boost::equals(l,r); } - bool operator == (const r_string& l, const std::string& r) + inline bool operator == (const r_string& l, const std::string& r) { return boost::equals(l,r); } |