aboutsummaryrefslogtreecommitdiffstats
path: root/include/json.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/json.h')
-rw-r--r--include/json.h2
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();