Refactor and modernize namespace declarations
* Completely remove inline namespace v2
* Flatten some unnecessarily deep namespace nesting
* Move DummyClientFace, Segmenter, SegmentFetcher to namespace ndn
* Move all unit tests to namespace ndn::tests
Change-Id: I8bcfcf9fd669936a3277d2d5d505f765b4b05742
diff --git a/tools/ndnsec/accumulator.hpp b/tools/ndnsec/accumulator.hpp
index a696000..eec3e09 100644
--- a/tools/ndnsec/accumulator.hpp
+++ b/tools/ndnsec/accumulator.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2013-2022 Regents of the University of California.
+ * Copyright (c) 2013-2023 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
@@ -24,8 +24,7 @@
#include <boost/program_options/value_semantic.hpp>
-namespace ndn {
-namespace ndnsec {
+namespace ndn::ndnsec {
/**
* @brief An accumulating option value to handle multiple incrementing options.
@@ -154,7 +153,6 @@
return new AccumulatorType<T>(store);
}
-} // namespace ndnsec
-} // namespace ndn
+} // namespace ndn::ndnsec
#endif // NDN_CXX_TOOLS_NDNSEC_ACCUMULATOR_HPP