Skip to content

Commit

Permalink
let the compiler generate the default ctor of SLHA_io
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Voigt authored and Alexander Voigt committed Dec 2, 2016
1 parent 4319521 commit 7a006b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 0 additions & 6 deletions src/slha_io.cpp
Expand Up @@ -30,12 +30,6 @@

namespace flexiblesusy {

SLHA_io::SLHA_io()
: data()
, modsel()
{
}

void SLHA_io::clear()
{
data.clear();
Expand Down
6 changes: 2 additions & 4 deletions src/slha_io.hpp
Expand Up @@ -151,8 +151,6 @@ class SLHA_io {
}
};

SLHA_io();

void clear();

// reading functions
Expand Down Expand Up @@ -234,8 +232,8 @@ class SLHA_io {
Eigen::Matrix<std::complex<double>, 1, 1>&);

private:
SLHAea::Coll data; ///< SHLA data
Modsel modsel; ///< data from block MODSEL
SLHAea::Coll data{}; ///< SHLA data
Modsel modsel{}; ///< data from block MODSEL
template <class Scalar>
static Scalar convert_to(const std::string&); ///< convert string
static std::string to_lower(const std::string&); ///< string to lower case
Expand Down

0 comments on commit 7a006b2

Please sign in to comment.