From 08be220827e90cee6b11a14140e6de0854382d30 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Tue, 8 May 2001 11:13:28 +0000 Subject: [PATCH] Fixes for VC6 + compressed_pair [SVN r10059] --- include/boost/type_traits/type_traits_test.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/type_traits/type_traits_test.hpp b/include/boost/type_traits/type_traits_test.hpp index c1e1223..b96feab 100644 --- a/include/boost/type_traits/type_traits_test.hpp +++ b/include/boost/type_traits/type_traits_test.hpp @@ -284,11 +284,13 @@ struct POD_UDT { int x; }; struct empty_UDT { ~empty_UDT(){}; + empty_UDT& operator=(const empty_UDT&){ return *this; } bool operator==(const empty_UDT&)const { return true; } }; struct empty_POD_UDT { + empty_POD_UDT& operator=(const empty_POD_UDT&){ return *this; } bool operator==(const empty_POD_UDT&)const { return true; } };