forked from boostorg/variant2
Fix return code of quick.cpp
This commit is contained in:
1 parent
566bde5fcc
commit
bc73c4b822
1 file changed
+1
-1
@@ -11,5 +11,5 @@ using namespace boost::variant2;
|
||||
int main()
|
||||
{
|
||||
variant<float, int> v( 2 );
|
||||
return get<1>( v ) == 2;
|
||||
return get<1>( v ) == 2? 0: 1;
|
||||
}
|
||||
Reference in new issue
Block a user