diff --git a/include/internal/catch_ptr.hpp b/include/internal/catch_ptr.hpp index 2b8caf6f..a688bc4f 100644 --- a/include/internal/catch_ptr.hpp +++ b/include/internal/catch_ptr.hpp @@ -36,7 +36,7 @@ namespace Catch { swap( temp ); return *this; } - Ptr& operator = ( Ptr& other ){ + Ptr& operator = ( const Ptr& other ){ Ptr temp( other ); swap( temp ); return *this; diff --git a/single_include/catch.hpp b/single_include/catch.hpp index 57fd0c10..c7905ef3 100644 --- a/single_include/catch.hpp +++ b/single_include/catch.hpp @@ -1,5 +1,5 @@ /* - * Generated: 2012-08-31 18:45:38.119837 + * Generated: 2012-08-31 18:50:03.965736 * ---------------------------------------------------------- * This file has been merged from multiple headers. Please don't edit it directly * Copyright (c) 2012 Two Blue Cubes Ltd. All rights reserved. @@ -293,7 +293,7 @@ namespace Catch { swap( temp ); return *this; } - Ptr& operator = ( Ptr& other ){ + Ptr& operator = ( const Ptr& other ){ Ptr temp( other ); swap( temp ); return *this;