From a9aa4658269e93594e759a015b8238f9ff83807f Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Sun, 22 Jul 2001 05:03:43 +0000 Subject: [PATCH] function_n_test.cpp: function_test.cpp: - Removed 'static' storage specifier from 'global_int' declaration. Perhaps Sun Workshop 6 will compile Boost.Function now? [SVN r10684] --- test/function_n_test.cpp | 2 +- test/function_test.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }};