diff options
Diffstat (limited to 'tests/cubescript/command.h')
-rw-r--r-- | tests/cubescript/command.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cubescript/command.h b/tests/cubescript/command.h index 86b10885..61f98392 100644 --- a/tests/cubescript/command.h +++ b/tests/cubescript/command.h @@ -84,7 +84,7 @@ struct ident virtual ~ident() {} - ident &operator=(const ident &o) { memcpy(this, &o, ES_SIZEOF(ident)); return *this; } // force vtable copy, ugh + ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh virtual void changed() { if(fun) fun(); } }; |