mirror of
https://github.com/Icinga/icinga2.git
synced 2026-05-28 04:12:13 -04:00
mkclass: use std::atomic#atomic(T), not std::atomic#atomic()
This commit is contained in:
parent
7de65af4cb
commit
98159b33dd
1 changed files with 3 additions and 1 deletions
|
|
@ -1069,7 +1069,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…
Reference in a new issue