aboutsummaryrefslogtreecommitdiffstats
path: root/amalgamate
diff options
context:
space:
mode:
authoripknHama <ipknhama@gmail.com>2015-01-08 08:20:38 +0900
committeripknHama <ipknhama@gmail.com>2015-01-08 08:22:06 +0900
commit3fc1424e6260c96f3ed255714ba29a56b6439299 (patch)
tree438590a8422004d24014a223653c952041f371e2 /amalgamate
parent345174564afb6ac44ac9eb11367e974c040965b4 (diff)
downloadcrow-3fc1424e6260c96f3ed255714ba29a56b6439299.tar.gz
crow-3fc1424e6260c96f3ed255714ba29a56b6439299.zip
fix issue #39, bug at assigning vector to json wvalue
Diffstat (limited to 'amalgamate')
-rw-r--r--amalgamate/crow_all.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/amalgamate/crow_all.h b/amalgamate/crow_all.h
index ed5ee0d..72f0ece 100644
--- a/amalgamate/crow_all.h
+++ b/amalgamate/crow_all.h
@@ -1568,7 +1568,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();