Commit 39ca8a48 authored by GILLES Sebastien's avatar GILLES Sebastien

#1422 Replace 'const bool&' by 'bool'.

parent 8a125356
......@@ -10,7 +10,7 @@ namespace Seldon
const MPI::Datatype& GetMpiDataType(const Vector<double>&);
const MPI::Datatype& GetMpiDataType(const Vector<complex<double> >&);
const MPI::Datatype& GetMpiDataType(const bool&);
const MPI::Datatype& GetMpiDataType(bool);
const MPI::Datatype& GetMpiDataType(const int&);
const MPI::Datatype& GetMpiDataType(const float&);
const MPI::Datatype& GetMpiDataType(const complex<float>&);
......
......@@ -57,7 +57,7 @@ namespace Seldon
return MPI::INTEGER;
}
inline const MPI::Datatype& GetMpiDataType(const bool&)
inline const MPI::Datatype& GetMpiDataType(bool)
{
return MPI::BOOL;
}
......
......@@ -31,7 +31,7 @@ namespace MoReFEM
OutputFormat::~OutputFormat() = default;
OutputFormat::OutputFormat(const bool& binary_output)
OutputFormat::OutputFormat(bool binary_output)
: binary_output_(binary_output)
{
}
......
......@@ -60,7 +60,7 @@ namespace MoReFEM
///@{
//! Constructor.
explicit OutputFormat(const bool& binary_output);
explicit OutputFormat(bool binary_output);
//! Destructor.
virtual ~OutputFormat() override;
......@@ -82,7 +82,7 @@ namespace MoReFEM
private:
//! Used to define wether the output is ascii or binary.
//! Used to define whether the output is ascii or binary.
bool binary_output_ = false;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment