From: Rebecca N. Palmer Date: Sat, 6 Feb 2016 21:16:27 +0000 (+0000) Subject: math: 'void getMaxSubdiv' does not make any sense X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a6290e367a461b9b083fd2331ccf8f9edf624e69;p=simgear.git math: 'void getMaxSubdiv' does not make any sense Fixes build failure with GCC 6: https://bugs.debian.org/812014 (getMaxSubdiv is currently unused) --- diff --git a/simgear/math/beziercurve.hxx b/simgear/math/beziercurve.hxx index b565832b..56545342 100644 --- a/simgear/math/beziercurve.hxx +++ b/simgear/math/beziercurve.hxx @@ -59,7 +59,7 @@ namespace simgear } void setMaxSubdiv( size_t aMaxSubdiv ) { mMaxSubdiv = aMaxSubdiv; } - void getMaxSubdiv() const { return mMaxSubdiv; } + size_t getMaxSubdiv() const { return mMaxSubdiv; } PointList &pointList() { return mPointList; } const PointList &pointList() const { return mPointList; }