Fixed the converting assignment bug in optional<>

Fixed the usage of 'None' in converter.h, which is declared as a macro in X11/X.h


[SVN r32531]
This commit is contained in:
Fernando Cacciola
2006-02-03 19:56:03 +00:00
parent f89c517fa8
commit 04bec76068

View File

@ -115,12 +115,8 @@ void test_basics( T const* )
// Assignment
// T::operator= ( T const& x ) is used to copy new value.
set_pending_assign( ARG(T) ) ;
set_pending_copy ( ARG(T) ) ;
set_pending_dtor ( ARG(T) ) ;
oa = ob ;
check_is_not_pending_assign( ARG(T) ) ;
check_is_pending_copy ( ARG(T) ) ;
check_is_pending_dtor ( ARG(T) ) ;
check_initialized(oa);
check_value(oa,b,z);