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/cameras.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libdimensionxx/cameras.cpp') diff --git a/libdimensionxx/cameras.cpp b/libdimensionxx/cameras.cpp index 2c1b69a..ca571be 100644 --- a/libdimensionxx/cameras.cpp +++ b/libdimensionxx/cameras.cpp @@ -55,13 +55,13 @@ namespace Dimension // Shallow-copy this camera Camera* - Perspective_Camera::copy() const + Perspective_Camera::copy() { return new Perspective_Camera(*this); } // Private copy-constructor, for copy() implementation - Perspective_Camera::Perspective_Camera(const Perspective_Camera& camera) + Perspective_Camera::Perspective_Camera(Perspective_Camera& camera) : Camera(camera) { } } -- cgit v1.2.3