Migrate to C++17 and misc code cleanups
Change-Id: I6b63385c92361a7ef5803d2bfd00f39c77e88d34
diff --git a/tests/repo-storage-fixture.hpp b/tests/repo-storage-fixture.hpp
index 9a82169..f573736 100644
--- a/tests/repo-storage-fixture.hpp
+++ b/tests/repo-storage-fixture.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/**
- * Copyright (c) 2018, Regents of the University of California.
+/*
+ * Copyright (c) 2018-2022, Regents of the University of California.
*
* This file is part of NDN repo-ng (Next generation of NDN repository).
* See AUTHORS.md for complete list of repo-ng authors and contributors.
@@ -21,12 +21,11 @@
#define REPO_TESTS_REPO_STORAGE_FIXTURE_HPP
#include "storage/repo-storage.hpp"
+#include "storage/sqlite-storage.hpp"
#include <boost/filesystem.hpp>
-#include <boost/test/unit_test.hpp>
-namespace repo {
-namespace tests {
+namespace repo::tests {
class RepoStorageFixture
{
@@ -42,13 +41,11 @@
boost::filesystem::remove_all(boost::filesystem::path("unittestdb"));
}
-
public:
std::shared_ptr<Storage> store;
std::shared_ptr<RepoStorage> handle;
};
-} // namespace tests
-} // namespace repo
+} // namespace repo::tests
#endif // REPO_TESTS_REPO_STORAGE_FIXTURE_HPP