diff -r 51303023d651 -r c5791a3aa1ba src/glcamera.h --- a/src/glcamera.h Tue Feb 14 12:58:53 2017 +0200 +++ b/src/glcamera.h Tue Feb 14 13:02:05 2017 +0200 @@ -41,10 +41,10 @@ public: // This is used to construct the free camera - enum FreeToken { FreeCamera }; + enum { FreeCamera }; GLCamera(QString name, FixedCameraParameters&& bag); - GLCamera(QString name, FreeToken); + GLCamera(QString name, decltype(FreeCamera)); Axis axisX() const; Axis axisY() const;