Skip to content

Commit 898ad14

Browse files
Avoid referencing symbol before it is declared
1 parent 37630da commit 898ad14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Common/DataStructures/EvalMapString.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace Js
3434
EvalMapStringInternal& operator=(void * str)
3535
{
3636
Assert(str == null);
37-
memset(this, 0, sizeof(EvalMapString));
37+
memset(this, 0, sizeof(*this));
3838
return (*this);
3939
}
4040

0 commit comments

Comments
 (0)