aboutsummaryrefslogtreecommitdiffstats
path: root/json.h
diff options
context:
space:
mode:
authorAlex Butum <alexbutum@linux.com>2014-07-08 10:48:46 +0300
committerAlex Butum <alexbutum@linux.com>2014-07-08 10:48:46 +0300
commit9217329239d7e86fd0e378d223fc5b8893d31bae (patch)
treef62eec172fe93fd42b452c30b430be8dc093c2ef /json.h
parente02e1d33900b4b120998bcbc366144d421e3b760 (diff)
downloadcrow-9217329239d7e86fd0e378d223fc5b8893d31bae.tar.gz
crow-9217329239d7e86fd0e378d223fc5b8893d31bae.zip
Init d data member from wvalue class
Diffstat (limited to 'json.h')
-rw-r--r--json.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/json.h b/json.h
index d3b9839..1e4a7c2 100644
--- a/json.h
+++ b/json.h
@@ -939,7 +939,7 @@ namespace crow
type t() { return t_; }
private:
type t_{type::Null};
- double d;
+ double d {};
std::string s;
std::unique_ptr<std::vector<wvalue>> l;
std::unique_ptr<std::unordered_map<std::string, wvalue>> o;