mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-24 13:39:24 +00:00
A load more C++11 tweaks - mostly moving initialisations from constructors to inline
This commit is contained in:
parent
cc8206f4c3
commit
e749724a11
23 changed files with 64 additions and 145 deletions
|
@ -27,12 +27,7 @@ namespace Detail {
|
|||
m_value( value )
|
||||
{}
|
||||
|
||||
Approx( Approx const& other )
|
||||
: m_epsilon( other.m_epsilon ),
|
||||
m_margin( other.m_margin ),
|
||||
m_scale( other.m_scale ),
|
||||
m_value( other.m_value )
|
||||
{}
|
||||
Approx( Approx const& other ) = default;
|
||||
|
||||
static Approx custom() {
|
||||
return Approx( 0 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue