summaryrefslogtreecommitdiff
path: root/core/vset.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/vset.h')
-rw-r--r--core/vset.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/vset.h b/core/vset.h
index 449943b4a1..7f4d8e7f62 100644
--- a/core/vset.h
+++ b/core/vset.h
@@ -133,7 +133,7 @@ public:
inline T &operator[](int p_index) {
- return _data[p_index];
+ return _data.write[p_index];
}
inline const T &operator[](int p_index) const {