summaryrefslogtreecommitdiffstats
path: root/libdimensionxx/cameras.cpp
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-07-11 16:54:49 +0000
committerTavian Barnes <tavianator@gmail.com>2009-07-11 16:54:49 +0000
commitca84516fa80cfca35da7df71ea04423780028212 (patch)
treeb3441beb05e36698d0ed626fe055d0ea048589b3 /libdimensionxx/cameras.cpp
parenta64f9e671936451d7a3a60191dcca6e37e97e585 (diff)
downloaddimension-ca84516fa80cfca35da7df71ea04423780028212.tar.xz
Make copy() a non-const method.
Diffstat (limited to 'libdimensionxx/cameras.cpp')
-rw-r--r--libdimensionxx/cameras.cpp4
1 files changed, 2 insertions, 2 deletions
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)
{ }
}