Skip to content

Commit a6ab833

Browse files
author
Sherwood Richers
committed
add dummy argument to CreateLike for particlecontainers to match the signature for multifabs
1 parent e6b9613 commit a6ab833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/Base/AMReX_IntegratorBase.H

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ template<class T>
2222
struct IntegratorOps<T, std::enable_if_t<std::is_base_of_v<amrex::ParticleContainerBase, T> > >
2323
{
2424

25-
static void CreateLike (amrex::Vector<std::unique_ptr<T> >& V, const T& Other)
25+
static void CreateLike (amrex::Vector<std::unique_ptr<T> >& V, const T& Other, bool dummy = false)
2626
{
2727
// Emplace a new T in V with the same size as Other and get a reference
2828
V.emplace_back(std::make_unique<T>(Other.Geom(0), Other.ParticleDistributionMap(0), Other.ParticleBoxArray(0)));

0 commit comments

Comments
 (0)