diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/common/db.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/db.hpp b/src/common/db.hpp index d171429..bd47928 100644 --- a/src/common/db.hpp +++ b/src/common/db.hpp @@ -30,6 +30,10 @@ class Map Impl impl; public: + Map() = default; + Map(std::initializer_list<std::pair<const K, V>> il) + : impl(il) + {} typedef typename Impl::iterator iterator; typedef typename Impl::const_iterator const_iterator; |