diff options
Diffstat (limited to 'ZAPD/ZVector.cpp')
| -rw-r--r-- | ZAPD/ZVector.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ZAPD/ZVector.cpp b/ZAPD/ZVector.cpp index 69171a8..31d5dc4 100644 --- a/ZAPD/ZVector.cpp +++ b/ZAPD/ZVector.cpp @@ -94,9 +94,10 @@ std::string ZVector::GetBodySourceCode() const std::string ZVector::GetSourceOutputCode([[maybe_unused]] const std::string& prefix) { - if (parent != nullptr) + Declaration* decl = parent->AddDeclaration(rawDataIndex, DeclarationAlignment::Align4, GetRawDataSize(), - GetSourceTypeName(), GetName(), GetBodySourceCode()); + GetSourceTypeName(), GetName(), GetBodySourceCode()); + decl->staticConf = staticConf; return ""; } |
