forked from boostorg/function
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:
1 parent
5574a6e97d
commit
aa2c2520ad
1 file changed
+1
-1
@@ -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