From a6290e367a461b9b083fd2331ccf8f9edf624e69 Mon Sep 17 00:00:00 2001 From: "Rebecca N. Palmer" Date: Sat, 6 Feb 2016 21:16:27 +0000 Subject: [PATCH] math: 'void getMaxSubdiv' does not make any sense Fixes build failure with GCC 6: https://bugs.debian.org/812014 (getMaxSubdiv is currently unused) --- simgear/math/beziercurve.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5