mirror of
https://github.com/boostorg/local_function.git
synced 2026-01-23 17:52:08 +00:00
Reworked all LocalFunction tests and examples to use Boost.Detail/LightweightTest (instead of Boost.Test) and test sequence syntax without variadic macros (..._nova tests).
[SVN r77747]
This commit is contained in:
@@ -19,7 +19,7 @@ int main() {
|
||||
n x(-1);
|
||||
|
||||
void BOOST_LOCAL_FUNCTION(const bind& x) { // OK: No copy
|
||||
assert( x.i == -1 ); // and constant.
|
||||
assert(x.i == -1); // and constant.
|
||||
} BOOST_LOCAL_FUNCTION_NAME(f)
|
||||
f();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user