diff --git a/test/function_n_test.cpp b/test/function_n_test.cpp index 9e7a1d7..66fb42f 100644 --- a/test/function_n_test.cpp +++ b/test/function_n_test.cpp @@ -24,7 +24,7 @@ using namespace boost; using std::string; using std::negate; -static int global_int; +int global_int; struct write_five_obj { void operator()() const { global_int = 5; } }; struct write_three_obj { int operator()() const { global_int = 3; return 7; }}; diff --git a/test/function_test.cpp b/test/function_test.cpp index 5b39a80..ef9dbdc 100644 --- a/test/function_test.cpp +++ b/test/function_test.cpp @@ -24,7 +24,7 @@ using namespace boost; using std::string; using std::negate; -static int global_int; +int global_int; struct write_five_obj { void operator()() const { global_int = 5; } }; struct write_three_obj { int operator()() const { global_int = 3; return 7; }};