mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-31 17:17:50 -05:00
Refactor: forward-declare element type in collection headers
Move the element-type include from each migrated collection header into
its .cpp, leaving only a forward declaration in the header. Follows the
pattern from 9e4d79159 for RimJobCollection, made possible by the
constructor-time PdmObject base check.
This commit is contained in:
1 parent
4feca2b920
commit
2fa7520b3a
25 files changed
+40
-35
No files matched your search
@@ -23,6 +23,7 @@
|
||||
#include "Rim3dView.h"
|
||||
#include "RimGridView.h"
|
||||
#include "RimProject.h"
|
||||
#include "RimSeismicView.h"
|
||||
|
||||
CAF_PDM_SOURCE_INIT( RimSeismicViewCollection, "SeismicViewCollection", "SeismicViewCollection" );
|
||||
|
||||
|
||||
@@ -19,13 +19,12 @@
|
||||
|
||||
#include "RiaSeismicDefines.h"
|
||||
|
||||
#include "RimSeismicView.h"
|
||||
|
||||
#include "cafPdmObjectCollection.h"
|
||||
|
||||
#include <QString>
|
||||
|
||||
class RimSeismicDataInterface;
|
||||
class RimSeismicView;
|
||||
|
||||
class RimSeismicViewCollection : public caf::PdmObjectCollection<RimSeismicView>
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user