Commit 40f77727 authored by Lukas Weber's avatar Lukas Weber
Browse files

simplify get declaration

parent 4cc16131
......@@ -42,7 +42,7 @@ public:
}
template<typename T>
auto get(const std::string &key, T default_val) -> decltype(default_val) const {
auto get(const std::string &key, T default_val) const {
return content_[key].as<T>(default_val);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment