aboutsummaryrefslogtreecommitdiff
path: root/tests/cubescript/command.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-04-22 07:53:31 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-04-22 07:53:31 -0700
commitc37042e3f9d65062d9464d782eeec3bc3efd6f42 (patch)
treeeb3f3ef6f8d7be559cf32d0ff5f7e8916ba5d295 /tests/cubescript/command.h
parent887ce3dde89410d012a708c3ec454f679b2e5b1e (diff)
work towards QUANTUM_SIZE=1 (unused)
Diffstat (limited to 'tests/cubescript/command.h')
-rw-r--r--tests/cubescript/command.h2
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(); }
};