diff options
author | ipknHama <ipknhama@gmail.com> | 2015-01-08 08:20:38 +0900 |
---|---|---|
committer | ipknHama <ipknhama@gmail.com> | 2015-01-08 08:22:06 +0900 |
commit | 3fc1424e6260c96f3ed255714ba29a56b6439299 (patch) | |
tree | 438590a8422004d24014a223653c952041f371e2 /include/json.h | |
parent | 345174564afb6ac44ac9eb11367e974c040965b4 (diff) | |
download | crow-3fc1424e6260c96f3ed255714ba29a56b6439299.tar.gz crow-3fc1424e6260c96f3ed255714ba29a56b6439299.zip |
fix issue #39, bug at assigning vector to json wvalue
Diffstat (limited to 'include/json.h')
-rw-r--r-- | include/json.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/json.h b/include/json.h index 0d5d41e..2ade280 100644 --- a/include/json.h +++ b/include/json.h @@ -1224,7 +1224,7 @@ namespace crow } template <typename T> - wvalue& operator[](const std::vector<T>& v) + wvalue& operator=(const std::vector<T>& v) { if (t_ != type::List) reset(); |