forked from boostorg/function
function_test.cpp: Don't use void() directly because of broken compilers
[SVN r14571]
This commit is contained in:
1 parent
d62193624e
commit
2963cb89a8
1 file changed
+2
-1
@@ -637,7 +637,8 @@ test_new_syntax()
|
||||
{
|
||||
#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
||||
write_five_obj five;
|
||||
function<void()> v2;
|
||||
typedef void F2();
|
||||
function<F2> v2;
|
||||
|
||||
// Assignment
|
||||
v2 = five;
|
||||
|
||||
Reference in new issue
Block a user