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