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]
This commit is contained in:
Douglas Gregor
2001-07-22 05:03:43 +00:00
parent aa026cd1d8
commit a9aa465826
2 changed files with 2 additions and 2 deletions

View File

@ -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; }};