From: Mikko Rasa Date: Wed, 5 Jun 2019 19:25:02 +0000 (+0300) Subject: Fix a missing return in assignment operator X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=acdb569a0370162ffc282b2e43221f34e35e7c58;p=libs%2Fmath.git Fix a missing return in assignment operator --- diff --git a/source/interpolate/spline.h b/source/interpolate/spline.h index 88626d2..d761979 100644 --- a/source/interpolate/spline.h +++ b/source/interpolate/spline.h @@ -134,6 +134,8 @@ inline Spline &Spline::operator=(const Spline &s) capacity = 0; segments = 0; } + + return *this; } template