mirror of
https://github.com/boostorg/function.git
synced 2025-07-23 09:27:14 +02:00
function_n_test.cpp:
- Don't test == 0 syntax (it isn't supported) [SVN r16115]
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
// Boost.Function library
|
||||
|
||||
// Copyright (C) 2001 Doug Gregor (gregod@cs.rpi.edu)
|
||||
// Copyright (C) 2001, 2002 Doug Gregor (gregod@cs.rpi.edu)
|
||||
//
|
||||
// Permission to copy, use, sell and distribute this software is granted
|
||||
// provided this copyright notice appears in all copies.
|
||||
@ -76,7 +76,7 @@ test_zero_args()
|
||||
|
||||
// clear() method
|
||||
v1.clear();
|
||||
BOOST_TEST(v1 == 0);
|
||||
BOOST_TEST(!v1);
|
||||
|
||||
// Assignment to an empty function
|
||||
v1 = three;
|
||||
|
Reference in New Issue
Block a user