aboutsummaryrefslogtreecommitdiff
path: root/core/dvector.h
diff options
context:
space:
mode:
authorJuan Linietsky2017-02-01 09:45:45 -0300
committerJuan Linietsky2017-02-01 09:46:36 -0300
commit2cd2ca7bbc892eccc635b1c4aea80c956c9b92dc (patch)
tree0a212bf8786c53ec7b054757071dc2430667d3a1 /core/dvector.h
parent36b6ba8e94d9afcb06aa2579bf627651f7ebfea0 (diff)
downloadgodot-2cd2ca7bbc892eccc635b1c4aea80c956c9b92dc.tar.gz
godot-2cd2ca7bbc892eccc635b1c4aea80c956c9b92dc.tar.zst
godot-2cd2ca7bbc892eccc635b1c4aea80c956c9b92dc.zip
Diffstat (limited to 'core/dvector.h')
-rw-r--r--core/dvector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dvector.h b/core/dvector.h
index cac9e8ef8..53a29738f 100644
--- a/core/dvector.h
+++ b/core/dvector.h
@@ -89,7 +89,7 @@ class PoolVector {
if (!alloc)
return;
- ERR_FAIL_COND(alloc->lock>0);
+// ERR_FAIL_COND(alloc->lock>0); should not be illegal to lock this for copy on write, as it's a copy on write after all
if (alloc->refcount.get()==1)
return; //nothing to do