build: switch to C++17
Change-Id: Id6217b5c993f3e4726e89773128b565e5f136bb6
diff --git a/tools/dissect/dissector.hpp b/tools/dissect/dissector.hpp
index e408efe..6ab7087 100644
--- a/tools/dissect/dissector.hpp
+++ b/tools/dissect/dissector.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2021, Regents of the University of California.
+ * Copyright (c) 2014-2022, Regents of the University of California.
*
* This file is part of ndn-tools (Named Data Networking Essential Tools).
* See AUTHORS.md for complete list of ndn-tools authors and contributors.
@@ -24,8 +24,7 @@
#include <ndn-cxx/encoding/block.hpp>
-namespace ndn {
-namespace dissect {
+namespace ndn::dissect {
struct Options
{
@@ -59,7 +58,6 @@
std::vector<bool> m_branches;
};
-} // namespace dissect
-} // namespace ndn
+} // namespace ndn::dissect
#endif // NDN_TOOLS_DISSECT_DISSECTOR_HPP