aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Json.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Json.h')
-rw-r--r--lib/Json.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/Json.h b/lib/Json.h
index 26da9a8..ee67f35 100644
--- a/lib/Json.h
+++ b/lib/Json.h
@@ -51,15 +51,7 @@ namespace json {
size_t,
ssize_t,
bool,
- std::nullopt_t> data;
-
- template<class T>
- value_t operator=(const T& map) {
- value_t v;
- v.data = map;
- return v;
- }
-
+ std::nullopt_t> v;
};
std::string map_to_json(const map_t& values);