Skip to content

Commit 2c78e59

Browse files
committed
gcc 4.8 stl_bind test workaround
1 parent d71f9a0 commit 2c78e59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_stl_binders.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ template <class Container> Container *one_to_n(int n) {
4949
template <class Map> Map *times_ten(int n) {
5050
auto m = new Map();
5151
for (int i = 1; i <= n; i++)
52-
m->emplace(i, 10*i);
52+
m->emplace(int(i), E_nc(10*i));
5353
return m;
5454
}
5555

0 commit comments

Comments
 (0)