Commit 49b288f4 authored by Giacomo Castiglioni's avatar Giacomo Castiglioni

Merge branch 'fix/gcc9-warnings' into 'master'

Fix compiler warnings issued by GCC 9.

See merge request !1108
parents 45fdad16 4ce4fa6c
Pipeline #1663 passed with stages
in 345 minutes and 14 seconds
......@@ -17,6 +17,9 @@ v5.0.1
------
**Library**
- Fix incorrect coordinate dimension used in history point filter (!1118)
v5.0.1
------
- Fix compile errors with GCC 9.x (!1108)
v5.0.1
------
......
......@@ -232,6 +232,7 @@ private:
homs(in.homs)
{
}
OffsetHelper& operator=(const OffsetHelper &in) = default;
uint64_t data, order, homy, homz, homs;
};
......
......@@ -79,6 +79,9 @@ namespace Nektar
{
}
/// Assignment operator
BasisKey& operator=(const BasisKey &) = default;
/// Returns the order of the basis.
inline int GetNumModes() const
{
......
......@@ -115,6 +115,8 @@ namespace Nektar
LIB_UTILITIES_EXPORT NekMatrix(typename boost::call_traits<NumberType>::const_reference scale, const ThisType& rhs);
LIB_UTILITIES_EXPORT ThisType& operator=(const ThisType&) = default;
LIB_UTILITIES_EXPORT ConstGetValueType operator()(unsigned int row, unsigned int col) const;
LIB_UTILITIES_EXPORT unsigned int GetStorageSize() const ;
......
......@@ -72,6 +72,8 @@ struct ElmtConfig
{
}
ElmtConfig& operator=(const ElmtConfig &) = default;
/// Element type (e.g. triangle, quad, etc).
LibUtilities::ShapeType m_e;
/// Denotes whether the element contains face nodes. For 2D elements, if
......
......@@ -53,6 +53,7 @@ namespace Nektar
public:
PointTestClass() : m_dataValue(0) {}
explicit PointTestClass(int data) : m_dataValue(data) {}
PointTestClass(const PointTestClass&) = default;
~PointTestClass(){}
PointTestClass operator=(const PointTestClass& rhs)
......
......@@ -57,6 +57,7 @@ namespace Nektar
public:
VectorTestClass() : m_dataValue(0) {}
explicit VectorTestClass(int data) : m_dataValue(data) {}
VectorTestClass(const VectorTestClass& in) = default;
~VectorTestClass(){}
VectorTestClass operator=(const VectorTestClass& rhs)
......
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