Skip to content

Commit

Permalink
COMP: Remove unnecessary itkFEMSpatialObjectWriter.h includes
Browse files Browse the repository at this point in the history
Remove unnecessary `itkFEMSpatialObjectWriter.h` includes in `FEM`
object tests and apply the "include-what-you-use" principle.
  • Loading branch information
jhlegarreta authored and dzenanz committed Jan 25, 2024
1 parent 458dbf6 commit e306437
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
8 changes: 7 additions & 1 deletion Modules/Numerics/FEM/test/itkFEMObjectTest.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@


#include "itkFEMElement2DC0LinearLineStress.h"
#include "itkFEMSpatialObjectWriter.h"
#include "itkFEMElementBase.h"
#include "itkFEMFactoryBase.h"
#include "itkFEMMaterialLinearElasticity.h"
#include "itkFEMLoadBCMFC.h"
#include "itkFEMLoadBC.h"
#include "itkFEMLoadNode.h"
#include "itkFEMObject.h"


int
Expand Down
9 changes: 7 additions & 2 deletions Modules/Numerics/FEM/test/itkFEMObjectTest2.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,13 @@


#include "itkFEMElement2DC0LinearLineStress.h"
#include "itkFEMSpatialObjectWriter.h"

#include "itkFEMElementBase.h"
#include "itkFEMFactoryBase.h"
#include "itkFEMMaterialLinearElasticity.h"
#include "itkFEMLoadBCMFC.h"
#include "itkFEMLoadBC.h"
#include "itkFEMLoadNode.h"
#include "itkFEMObject.h"

int
itkFEMObjectTest2(int, char *[])
Expand Down

0 comments on commit e306437

Please sign in to comment.