diff --git a/Source/FieldSolver/ImplicitSolvers/WarpXSolverVec.H b/Source/FieldSolver/ImplicitSolvers/WarpXSolverVec.H index 2b35e2e5807..f884f5fa623 100644 --- a/Source/FieldSolver/ImplicitSolvers/WarpXSolverVec.H +++ b/Source/FieldSolver/ImplicitSolvers/WarpXSolverVec.H @@ -32,6 +32,10 @@ #include #include + +// forward declaration +class WarpX; + /** * \brief * This is a wrapper class around a Vector of pointers to MultiFabs that @@ -47,8 +51,6 @@ * and the scalar field can be used for the scalar potential phi, which is the full state of * unknowns for a Darwin electromagnetic model. */ - -class WarpX; class WarpXSolverVec { public: