mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-06 10:57:35 +03:00
Fix little C++ header regressions
This commit is contained in:
parent
879c8ba465
commit
c0630840b7
6 changed files with 14 additions and 15 deletions
|
@ -41,8 +41,8 @@ bool isMagicModule(const ModuleDeclaration *moduleDecl, const Identifier *id) {
|
|||
return false;
|
||||
}
|
||||
|
||||
if (moduleDecl->packages->length != 1 ||
|
||||
(*moduleDecl->packages)[0] != Id::ldc) {
|
||||
if (moduleDecl->packages.length != 1 ||
|
||||
moduleDecl->packages.ptr[0] != Id::ldc) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue