Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
07806558
Commit
07806558
authored
Nov 12, 2016
by
Jason Rhinelander
Committed by
Wenzel Jakob
Nov 13, 2016
Browse files
Fix test compilation failure under gcc 4.9 (#496)
parent
920e0e34
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tests/test_sequences_and_iterators.cpp
tests/test_sequences_and_iterators.cpp
+2
-1
No files found.
tests/test_sequences_and_iterators.cpp
View file @
07806558
...
@@ -129,7 +129,8 @@ private:
...
@@ -129,7 +129,8 @@ private:
// map-like functionality.
// map-like functionality.
class
StringMap
{
class
StringMap
{
public:
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
))
{}
:
map
(
std
::
move
(
init
))
{}
void
set
(
std
::
string
key
,
std
::
string
val
)
{
void
set
(
std
::
string
key
,
std
::
string
val
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment