mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
[Fwk] Improved static initializer naming
This commit is contained in:
parent
563aa95abf
commit
bf5de93113
@ -47,7 +47,7 @@ CAF_PDM_UI_REGISTER_DEFAULT_FIELD_EDITOR(caf::PdmUiColorEditor, cvf::Color3f);
|
||||
// in a cpp file, a dummy static class must be used to make sure the compile unit
|
||||
// is included
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
Color3fDummy::Color3fDummy()
|
||||
PdmColor3fInitializer::PdmColor3fInitializer()
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -91,9 +91,9 @@ public:
|
||||
// in a cpp file, a dummy static class must be used to make sure the compile unit
|
||||
// is included
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
class Color3fDummy
|
||||
class PdmColor3fInitializer
|
||||
{
|
||||
public:
|
||||
Color3fDummy();
|
||||
PdmColor3fInitializer();
|
||||
};
|
||||
static Color3fDummy cafPdmColor3fDummy;
|
||||
static PdmColor3fInitializer pdmColor3fInitializer;
|
||||
|
@ -49,7 +49,6 @@ CAF_PDM_UI_REGISTER_DEFAULT_FIELD_EDITOR(caf::PdmUiListEditor, std::vector<cvf::
|
||||
// in a cpp file, a dummy static class must be used to make sure the compile unit
|
||||
// is included
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
Vec3dDummy::Vec3dDummy()
|
||||
PdmVec3dInitializer::PdmVec3dInitializer()
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -90,9 +90,9 @@ public:
|
||||
// in a cpp file, a dummy static class must be used to make sure the compile unit
|
||||
// is included
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
class Vec3dDummy
|
||||
class PdmVec3dInitializer
|
||||
{
|
||||
public:
|
||||
Vec3dDummy();
|
||||
PdmVec3dInitializer();
|
||||
};
|
||||
static Vec3dDummy cafPdmVec3dDummy;
|
||||
static PdmVec3dInitializer pdmVec3dInitializer;
|
||||
|
Loading…
Reference in New Issue
Block a user