mirror of
https://github.com/boostorg/function.git
synced 2026-01-25 08:22:22 +01:00
Make sure to pass the address of a function to Boost.Function, not the function itself (stupid MSVC)
[SVN r16176]
This commit is contained in:
@@ -105,7 +105,7 @@ test_zero_args()
|
||||
BOOST_TEST(v1.empty());
|
||||
|
||||
// Assignment to an empty function from a free function
|
||||
v1 = write_five;
|
||||
v1 = &write_five;
|
||||
BOOST_TEST(!v1.empty());
|
||||
|
||||
// Invocation
|
||||
|
||||
Reference in New Issue
Block a user