System : Avoid file global variables (cotire)

When multiple files defines the same variable in global file scope, a name clash happens in cotire. Prefer using static const members instead.
This commit is contained in:
Magne Sjaastad
2019-01-16 15:56:04 +01:00
parent bde2c0109c
commit e75362f87e
6 changed files with 28 additions and 18 deletions

View File

@@ -121,4 +121,6 @@ private:
caf::PdmField<bool> m_showAxisLines;
caf::PdmPointer<caf::PdmObject> m_legendObjectToSelect;
const static cvf::Mat4d sm_defaultViewMatrix;
};