build: switch to C++17
Change-Id: Ie68020a04b7e20b74778b6d0370544ded55c5e26
diff --git a/daemon/table/strategy-choice.hpp b/daemon/table/strategy-choice.hpp
index 4b1548e..8c810a4 100644
--- a/daemon/table/strategy-choice.hpp
+++ b/daemon/table/strategy-choice.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2019, Regents of the University of California,
+ * Copyright (c) 2014-2022, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -106,7 +106,7 @@
Status m_status;
std::string m_exceptionMessage;
- friend class StrategyChoice;
+ friend StrategyChoice;
friend std::ostream& operator<<(std::ostream&, const InsertResult&);
};
@@ -152,8 +152,8 @@
findEffectiveStrategy(const measurements::Entry& measurementsEntry) const;
public: // enumeration
- typedef boost::transformed_range<name_tree::GetTableEntry<Entry>, const name_tree::Range> Range;
- typedef boost::range_iterator<Range>::type const_iterator;
+ using Range = boost::transformed_range<name_tree::GetTableEntry<Entry>, const name_tree::Range>;
+ using const_iterator = boost::range_iterator<Range>::type;
/** \return an iterator to the beginning
* \note Iteration order is implementation-defined.