Skip to content

Commit

Permalink
fix(solver/config.cc): Remove redundant redeclaration for C++17
Browse files Browse the repository at this point in the history
  • Loading branch information
soonho-tri committed Mar 19, 2020
1 parent 4f2940e commit 438c4b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dreal/solver/config.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ namespace dreal {

using std::ostream;

#if __cplusplus < 201703L
constexpr double Config::kDefaultPrecision;
constexpr double Config::kDefaultNloptFtolRel;
constexpr double Config::kDefaultNloptFtolAbs;
constexpr int Config::kDefaultNloptMaxEval;
constexpr double Config::kDefaultNloptMaxTime;
#endif

double Config::precision() const { return precision_.get(); }
OptionValue<double>& Config::mutable_precision() { return precision_; }
Expand Down

0 comments on commit 438c4b6

Please sign in to comment.