mirror of
https://github.com/boostorg/variant2.git
synced 2025-07-30 12:17:16 +02:00
Fix return code of quick.cpp
This commit is contained in:
@ -11,5 +11,5 @@ using namespace boost::variant2;
|
|||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
variant<float, int> v( 2 );
|
variant<float, int> v( 2 );
|
||||||
return get<1>( v ) == 2;
|
return get<1>( v ) == 2? 0: 1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user