Skip to content

Commit 0cc1962

Browse files
fanc999-1kjellahl
authored andcommitted
tests: Include <string> as needed
Some compilers do insist that <string> be included so that things like to_string() and stoi() becomes part of the std namespace.
1 parent 7950fd8 commit 0cc1962

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/test_tuple_for_each.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include <sigc++/tuple-utils/tuple_for_each.h>
2020
#include <iostream>
2121
#include <functional>
22+
#include <string>
2223

2324
template <typename T_element_from>
2425
class for_each_simple

tests/test_tuple_transform_each.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include <sigc++/tuple-utils/tuple_transform_each.h>
2020
#include <utility>
2121
#include <functional>
22+
#include <string>
2223

2324
template <typename T_element_from>
2425
class transform_to_string

0 commit comments

Comments
 (0)