mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
Cotire : Move macro definition to avoid duplicate symbols
This commit is contained in:
1 parent
15576a9ae3
commit
020146bead
1 file changed
+4
-1
@@ -60,7 +60,6 @@
|
||||
namespace caf
|
||||
{
|
||||
|
||||
CAF_PDM_UI_FIELD_EDITOR_SOURCE_INIT(PdmUiLineEditor);
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
@@ -260,4 +259,8 @@ void PdmUiLineEdit::keyPressEvent(QKeyEvent * event)
|
||||
}
|
||||
}
|
||||
|
||||
// Define at this location to avoid duplicate symbol definitions in 'cafPdmUiDefaultObjectEditor.cpp' in a cotire build. The
|
||||
// variables defined by the macro are prefixed by line numbers causing a crash if the macro is defined at the same line number.
|
||||
CAF_PDM_UI_FIELD_EDITOR_SOURCE_INIT(PdmUiLineEditor);
|
||||
|
||||
} // end namespace caf
|
||||
Reference in new issue
Block a user