Skip to content

Commit 0780655

Browse files
jagermanwjakob
authored andcommitted
Fix test compilation failure under gcc 4.9 (#496)
1 parent 920e0e3 commit 0780655

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_sequences_and_iterators.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ class IntPairs {
129129
// map-like functionality.
130130
class StringMap {
131131
public:
132-
StringMap(std::unordered_map<std::string, std::string> init = {})
132+
StringMap() = default;
133+
StringMap(std::unordered_map<std::string, std::string> init)
133134
: map(std::move(init)) {}
134135

135136
void set(std::string key, std::string val) {

0 commit comments

Comments
 (0)