Commit 07806558 authored by Jason Rhinelander's avatar Jason Rhinelander Committed by Wenzel Jakob
Browse files

Fix test compilation failure under gcc 4.9 (#496)

parent 920e0e34
......@@ -129,7 +129,8 @@ private:
// map-like functionality.
class StringMap {
public:
StringMap(std::unordered_map<std::string, std::string> init = {})
StringMap() = default;
StringMap(std::unordered_map<std::string, std::string> init)
: map(std::move(init)) {}
void set(std::string key, std::string 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