Commit 0eea04e9 authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#811 Fix a minor warning pointed out by gcc.

parent 6868053e
......@@ -31,13 +31,15 @@ namespace HappyHeart
Matrix::Matrix()
: petsc_matrix_(PETSC_NULL),
: parent(),
petsc_matrix_(PETSC_NULL),
do_petsc_destroy_(false)
{ }
Matrix::Matrix(const Matrix& rhs)
: petsc_matrix_(PETSC_NULL),
: parent(rhs),
petsc_matrix_(PETSC_NULL),
do_petsc_destroy_(rhs.do_petsc_destroy_)
{
CompleteCopy(rhs, __FILE__, __LINE__);
......
......@@ -90,6 +90,11 @@ namespace HappyHeart
*/
class Matrix : private Private::BaseMatrix
{
private:
//! Alias to parent.
using parent = Private::BaseMatrix;
public:
//! Constructor.
......
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