A load more C++11 tweaks - mostly moving initialisations from constructors to inline

This commit is contained in:
Phil Nash committed 2017-04-25 19:30:53 +01:00
1 parent cc8206f4c3
commit e749724a11
23 files changed
+64 -145

No files matched your search

+1 -6
View File
@@ -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 );