mirror of
https://github.com/Icinga/icinga2.git
synced 2025-09-22 09:17:43 +02:00
mkclass: use std::atomic#atomic(T), not std::atomic#atomic()
This commit is contained in:
parent
73a1a79e9d
commit
dd1117bb73
@ -1068,7 +1068,9 @@ void ClassCompiler::HandleClass(const Klass& klass, const ClassDebugInfo&)
|
||||
if (field.Attributes & FANoStorage)
|
||||
continue;
|
||||
|
||||
m_Header << "\tAtomicOrLocked<" << field.Type.GetRealType() << "> m_" << field.GetFriendlyName() << ";" << std::endl;
|
||||
m_Header << "\ttypedef " << field.Type.GetRealType() << " " << field.GetFriendlyName() << "_t;" << std::endl
|
||||
<< "\tAtomicOrLocked<" << field.GetFriendlyName() << "_t> m_" << field.GetFriendlyName()
|
||||
<< " {" << field.GetFriendlyName() << "_t()};" << std::endl;
|
||||
}
|
||||
|
||||
/* signal */
|
||||
|
Loading…
x
Reference in New Issue
Block a user