From: Wolfgang Bangerth Date: Thu, 11 Dec 2014 17:12:40 +0000 (-0600) Subject: Elide default initialization. X-Git-Tag: v8.2.0-rc1~20^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=208ff157d5a7f9e5eb220e7ce2278e8d7566967c;p=dealii.git Elide default initialization. Apparently, the initialization of a std::shared_ptr with NULL is not allowed with the Intel compiler. It is also not necessary (that's what the default constructor does anyway), so just remove the line. --- diff --git a/source/lac/slepc_solver.cc b/source/lac/slepc_solver.cc index 4539d5a6ad..a892fd7a8f 100644 --- a/source/lac/slepc_solver.cc +++ b/source/lac/slepc_solver.cc @@ -49,7 +49,6 @@ namespace SLEPcWrappers : solver_control (cn), mpi_communicator (mpi_communicator), - target_eigenvalue (NULL), set_which (EPS_LARGEST_MAGNITUDE), set_problem (EPS_GNHEP), opA (NULL),