Skip to content

Commit

Permalink
script_interface: Fixed build with c++17
Browse files Browse the repository at this point in the history
  • Loading branch information
fweik committed Jul 27, 2020
1 parent a6d9304 commit fa62727
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/script_interface/accumulators/Correlator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ class Correlator : public AccumulatorBase {

public:
Correlator() {
using Utils::as_const;
/* Only args can be changed after construction. */
add_parameters(
{{"tau_lin", m_correlator, &CoreCorr::tau_lin},
Expand All @@ -53,8 +52,8 @@ class Correlator : public AccumulatorBase {
{"args", m_correlator, &CoreCorr::set_correlation_args,
&CoreCorr::correlation_args},
{"dim_corr", m_correlator, &CoreCorr::dim_corr},
{"obs1", as_const(m_obs1)},
{"obs2", as_const(m_obs2)},
{"obs1", Utils::as_const(m_obs1)},
{"obs2", Utils::as_const(m_obs2)},
{"n_result", m_correlator, &CoreCorr::n_result}});
}

Expand Down

0 comments on commit fa62727

Please sign in to comment.