1
0
mirror of https://github.com/Icinga/icinga2.git synced 2025-04-08 17:05:25 +02:00

Don't set up instance variables for fields which have been marked as no_storage

fixes 
This commit is contained in:
Gunnar Beutner 2015-02-09 14:09:43 +01:00
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;
}
}