]> git.tdb.fi Git - libs/math.git/commitdiff
Fix a missing return in assignment operator
authorMikko Rasa <tdb@tdb.fi>
Wed, 5 Jun 2019 19:25:02 +0000 (22:25 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 5 Jun 2019 19:25:02 +0000 (22:25 +0300)
source/interpolate/spline.h

index 88626d2358c5fb5cd2e6756c5c43de4c9556b6b9..d76197930e5747e7a93e05137309ffeccf2ae5d1 100644 (file)
@@ -134,6 +134,8 @@ inline Spline<T, D, N> &Spline<T, D, N>::operator=(const Spline &s)
                capacity = 0;
                segments = 0;
        }
+
+       return *this;
 }
 
 template<typename T, unsigned D, unsigned N>