Skip to content

Commit

Permalink
Merge pull request #5052 from 9rnsr/add_final
Browse files Browse the repository at this point in the history
[REG-master] Make VarDeclaration.isOverlappedWith final (fix inconsistent vtbl layout between front-end and glue layer)
  • Loading branch information
MartinNowak committed Sep 7, 2015
2 parents 21e644e + 5e89cb0 commit dbc6175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/declaration.d
Expand Up @@ -2031,7 +2031,7 @@ public:
return (storage_class & STCctfe) != 0; // || !isDataseg();
}

bool isOverlappedWith(VarDeclaration v)
final bool isOverlappedWith(VarDeclaration v)
{
return ( offset < v.offset + v.type.size() &&
v.offset < offset + type.size());
Expand Down

0 comments on commit dbc6175

Please sign in to comment.