src/glcamera.h

changeset 1140
c5791a3aa1ba
parent 1134
daa9808d626e
child 1151
0eddb5bcf25b
--- 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;

mercurial