summaryrefslogtreecommitdiffstats
path: root/core/templates/vmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/templates/vmap.h')
-rw-r--r--core/templates/vmap.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/templates/vmap.h b/core/templates/vmap.h
index 2aa22f97cf..0ff105ccbf 100644
--- a/core/templates/vmap.h
+++ b/core/templates/vmap.h
@@ -193,9 +193,8 @@ public:
_FORCE_INLINE_ VMap() {}
_FORCE_INLINE_ VMap(const VMap &p_from) { _cowdata._ref(p_from._cowdata); }
- inline VMap &operator=(const VMap &p_from) {
+ inline void operator=(const VMap &p_from) {
_cowdata._ref(p_from._cowdata);
- return *this;
}
};