mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1292 Fixed CppCheck Issues in AppFwk/cafProjectDataModel
This commit is contained in:
@@ -28,7 +28,7 @@ public:
|
||||
CAF_PDM_XML_InitField(&m_name, "Name");
|
||||
}
|
||||
|
||||
ItemPdmObject(QString name) : PdmObjectHandle(), PdmXmlObjectHandle(this, false)
|
||||
explicit ItemPdmObject(QString name) : PdmObjectHandle(), PdmXmlObjectHandle(this, false)
|
||||
{
|
||||
CAF_PDM_XML_InitField(&m_name, "Name");
|
||||
m_name = name;
|
||||
|
||||
@@ -192,7 +192,8 @@ class SimpleObj : public caf::PdmObjectHandle, public caf::PdmXmlObjectHandle
|
||||
{
|
||||
CAF_PDM_XML_HEADER_INIT;
|
||||
public:
|
||||
SimpleObj() : PdmObjectHandle(), PdmXmlObjectHandle(this, false)
|
||||
SimpleObj() : PdmObjectHandle(), PdmXmlObjectHandle(this, false),
|
||||
m_doubleMember(0.0)
|
||||
{
|
||||
CAF_PDM_XML_InitField(&m_position, "Position");
|
||||
CAF_PDM_XML_InitField(&m_dir, "Dir");
|
||||
|
||||
Reference in New Issue
Block a user