diff options
Diffstat (limited to 'libdimensionxx/dimensionxx/object.hpp')
-rw-r--r-- | libdimensionxx/dimensionxx/object.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimensionxx/dimensionxx/object.hpp b/libdimensionxx/dimensionxx/object.hpp index 6505162..c661fa8 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() = 0; + virtual Object* copy() const = 0; // Access the wrapped C object dmnsn_object* dmnsn(); @@ -51,7 +51,7 @@ namespace Dimension // No-op Object(); // Shallow copy - Object(Object& object); + Object(const Object& object); // Wrap an existing object. explicit Object(dmnsn_object* object); |