summaryrefslogtreecommitdiffstats
path: root/libdimensionxx/dimensionxx/object.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'libdimensionxx/dimensionxx/object.hpp')
-rw-r--r--libdimensionxx/dimensionxx/object.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimensionxx/dimensionxx/object.hpp b/libdimensionxx/dimensionxx/object.hpp
index 8b5d3c9..8283c9c 100644
--- a/libdimensionxx/dimensionxx/object.hpp
+++ b/libdimensionxx/dimensionxx/object.hpp
@@ -41,7 +41,7 @@ namespace Dimension
virtual bool inside(const Vector& point);
// Shallow-copy a derived object
- virtual Object* copy() const = 0;
+ virtual Object* copy() = 0;
// Access the wrapped C object
dmnsn_object* dmnsn();
@@ -51,7 +51,7 @@ namespace Dimension
// No-op
Object();
// Shallow copy
- Object(const Object& object);
+ Object(Object& object);
// Wrap an existing object.
explicit Object(dmnsn_object* object);