mkclass: use std::atomic#atomic(T), not std::atomic#atomic()

This commit is contained in:
Alexander A. Klimov 2024-11-25 10:46:11 +01:00
parent 7de65af4cb
commit 98159b33dd

View file

@ -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 */