summaryrefslogtreecommitdiff
path: root/include/JSystem/JSupport
diff options
context:
space:
mode:
Diffstat (limited to 'include/JSystem/JSupport')
-rw-r--r--include/JSystem/JSupport/JSUList.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/JSystem/JSupport/JSUList.h b/include/JSystem/JSupport/JSUList.h
index 8d42762d2c..682dd52e42 100644
--- a/include/JSystem/JSupport/JSUList.h
+++ b/include/JSystem/JSupport/JSUList.h
@@ -137,7 +137,7 @@ public:
return *this;
}
- T* getObject() { return this->mLink->getObject(); }
+ T* getObject() const { return this->mLink->getObject(); }
bool operator==(JSULink<T> const* other) const { return this->mLink == other; }
bool operator!=(JSULink<T> const* other) const { return this->mLink != other; }