aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/util.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-05-04 11:22:06 +0200
committerEelco Dolstra <edolstra@gmail.com>2022-05-04 11:22:06 +0200
commit3e87c8e62b3eacecde4e9f467b5463fbbdaa6a3f (patch)
treea476c583f6deac32b5d396b1e11a1fe6603d0502 /src/libutil/util.hh
parent1385b2007804c8a0370f2a6555045a00e34b07c7 (diff)
Move json stuff out of util.cc
Diffstat (limited to 'src/libutil/util.hh')
-rw-r--r--src/libutil/util.hh3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libutil/util.hh b/src/libutil/util.hh
index 6319ced47..09ccfa591 100644
--- a/src/libutil/util.hh
+++ b/src/libutil/util.hh
@@ -558,9 +558,6 @@ typename T::mapped_type * get(T & map, const typename T::key_type & key)
return &i->second;
}
-const nlohmann::json * get(const nlohmann::json & map, const std::string & key);
-nlohmann::json * get(nlohmann::json & map, const std::string & key);
-
/* Get a value for the specified key from an associate container, or a default value if the key isn't present. */
template <class T>
const typename T::mapped_type & getOr(T & map,