Fixed extra semicolon warning with BOOST_GLOBAL_FIXTURE prior to Boost 1.59

This commit is contained in:
Mathieu Champlon 2016-02-07 18:34:23 +01:00
parent ff5d8e223e
commit ffcb366633
2 changed files with 5 additions and 1 deletions

View file

@ -13,6 +13,7 @@ Not yet released
* Fixed missing thread synchronization in mock::sequence
* Fixed build errors with Boost 1.59
* Fixed multiply defined symbol definition for MOCK_FUNCTION included from several translation units
* Fixed extra semicolon warning with BOOST_GLOBAL_FIXTURE prior to Boost 1.59
[endsect]

View file

@ -27,7 +27,10 @@ namespace mock
};
#ifdef MOCK_USE_BOOST_TEST
BOOST_GLOBAL_FIXTURE( cleanup );
BOOST_GLOBAL_FIXTURE( cleanup )
#if BOOST_VERSION >= 105900
;
#endif
#endif
} // mock