New version of Clara

- Clara now built with new stitch script (based on generateSingleInclude)
- also fixed python scripts for python 3 (print now a function rather than a keyword)
This commit is contained in:
Phil Nash 2014-03-01 10:38:14 +00:00
parent 1c2fbe146b
commit 1f1ee3c63d
7 changed files with 228 additions and 71 deletions

View file

@ -29,9 +29,11 @@ namespace Catch {
}
Option& operator= ( Option const& _other ) {
reset();
if( _other )
nullableValue = new( storage ) T( *_other );
if( &_other != this ) {
reset();
if( _other )
nullableValue = new( storage ) T( *_other );
}
return *this;
}
Option& operator = ( T const& _value ) {