Skip to content

Commit

Permalink
Merge pull request #16389 from bangerth/explicit
Browse files Browse the repository at this point in the history
'explicit' on default constructors is redundant.
  • Loading branch information
blaisb committed Dec 28, 2023
2 parents bdc233d + 2adf5d2 commit 588c295
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/deal.II/base/mpi.h
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ namespace Utilities
/**
* Constructor of this class.
*/
explicit CollectiveMutex();
CollectiveMutex();

/**
* Destroy the mutex. Assumes the lock is not currently held.
Expand Down
2 changes: 1 addition & 1 deletion include/deal.II/meshworker/copy_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ namespace MeshWorker
* @p local_dof_indices are empty, and should be initialized using
* one of the reinit() functions.
*/
explicit CopyData() = default;
CopyData() = default;

/**
* Initialize everything with the same @p size. This is usually the number
Expand Down

0 comments on commit 588c295

Please sign in to comment.