mirror of https://github.com/Icinga/icinga2.git
Don't set up instance variables for fields which have been marked as no_storage
fixes #8400
This commit is contained in:
parent
278c6ae52b
commit
d5e9e1661a
|
@ -526,7 +526,8 @@ void ClassCompiler::HandleClass(const Klass& klass, const ClassDebugInfo&)
|
|||
std::cout << "private:" << std::endl;
|
||||
|
||||
for (it = klass.Fields.begin(); it != klass.Fields.end(); it++) {
|
||||
std::cout << "\t" << it->Type << " m_" << it->GetFriendlyName() << ";" << std::endl;
|
||||
if (!(it->Attributes & FANoStorage))
|
||||
std::cout << "\t" << it->Type << " m_" << it->GetFriendlyName() << ";" << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue