From 04bec760687371467dafb849f4fdd53c920aadb3 Mon Sep 17 00:00:00 2001 From: Fernando Cacciola Date: Fri, 3 Feb 2006 19:56:03 +0000 Subject: [PATCH] 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] --- test/optional_test.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/optional_test.cpp b/test/optional_test.cpp index 9f60859..12dda2a 100644 --- a/test/optional_test.cpp +++ b/test/optional_test.cpp @@ -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);