mirror of
https://github.com/catchorg/Catch2.git
synced 2025-06-02 09:57:54 +00:00
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:
parent
1c2fbe146b
commit
1f1ee3c63d
7 changed files with 228 additions and 71 deletions
|
@ -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 ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue