From acdb569a0370162ffc282b2e43221f34e35e7c58 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 5 Jun 2019 22:25:02 +0300 Subject: [PATCH] Fix a missing return in assignment operator --- source/interpolate/spline.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.45.2