From 5ade0127befc919a879028e06c7f1ec6f24966ec Mon Sep 17 00:00:00 2001 From: Anselme Date: Sun, 22 Jan 2017 11:33:25 +0100 Subject: [PATCH] added const ref getter --- src/property.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/property.h b/src/property.h index 08da263..17118ab 100644 --- a/src/property.h +++ b/src/property.h @@ -227,6 +227,7 @@ public: PropertyType getDataType() { return Property::getStaticPropertyType(); } std::vector &getValueRef() { return value; } + const std::vector &getValueRef() const { return value; } unsigned int getArraySize() { return value.size(); } };