We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 570ed8c commit 2e8448cCopy full SHA for 2e8448c
src/params.hpp
@@ -67,7 +67,7 @@ class params_t
67
typename K, typename V,
68
std::enable_if_t<!std::is_arithmetic_v<std::remove_reference_t<V>>,
69
bool> = true>
70
- void set(K &&key, V &&value)
+ void set(K &&key, V const &value)
71
{
72
m_map.insert_or_assign(std::forward<K>(key), std::string(value));
73
}
0 commit comments