From ca84516fa80cfca35da7df71ea04423780028212 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 11 Jul 2009 16:54:49 +0000 Subject: Make copy() a non-const method. --- libdimensionxx/dimensionxx/cameras.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libdimensionxx/dimensionxx/cameras.hpp') diff --git a/libdimensionxx/dimensionxx/cameras.hpp b/libdimensionxx/dimensionxx/cameras.hpp index 7f70af7..1764ac5 100644 --- a/libdimensionxx/dimensionxx/cameras.hpp +++ b/libdimensionxx/dimensionxx/cameras.hpp @@ -37,11 +37,11 @@ namespace Dimension void trans(const Matrix& trans); // Shallow-copy the camera - Camera* copy() const; + Camera* copy(); private: // Copying prohibited, but used internally - Perspective_Camera(const Perspective_Camera& camera); + Perspective_Camera(Perspective_Camera& camera); Perspective_Camera& operator=(const Perspective_Camera&); }; } -- cgit v1.2.3