Skip to content

Commit

Permalink
Merge pull request #795 from streeve/fixup_particle_grid_rename
Browse files Browse the repository at this point in the history
Fix incorrect void return for ParticleGridDistributor deprecated wrapper
  • Loading branch information
streeve authored Oct 16, 2024
2 parents 7c8a622 + bc10d69 commit facdb90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grid/src/Cabana_Grid_ParticleDistributor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ bool particleMigrate( const LocalGridType& local_grid,
template <class... Args>
[[deprecated( "Cabana::Grid::particleGridMigrate is now "
"Cabana::Grid::particleMigrate. This function wrapper will be "
"removed in a future release." )]] void
"removed in a future release." )]] auto
particleGridMigrate( Args&&... args )
{
return Cabana::Grid::particleMigrate( std::forward<Args>( args )... );
Expand All @@ -381,7 +381,7 @@ template <class... Args>
[[deprecated(
"Cabana::Grid::createParticleGridDistributor is now "
"Cabana::Grid::createParticleDistributor. This function wrapper will be "
"removed in a future release." )]] void
"removed in a future release." )]] auto
createParticleGridDistributor( Args&&... args )
{
return Cabana::Grid::createParticleDistributor(
Expand Down

0 comments on commit facdb90

Please sign in to comment.