Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused includes #4316

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions nano/core_test/confirmation_height.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

#include <gtest/gtest.h>

#include <boost/format.hpp>

using namespace std::chrono_literals;

namespace
Expand Down
2 changes: 0 additions & 2 deletions nano/core_test/logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

#include <gtest/gtest.h>

#include <boost/filesystem.hpp>

#include <chrono>
#include <regex>
#include <thread>
Expand Down
2 changes: 0 additions & 2 deletions nano/core_test/message_deserializer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

#include <gtest/gtest.h>

#include <boost/none.hpp>

#include <memory>
#include <vector>

Expand Down
2 changes: 0 additions & 2 deletions nano/core_test/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
#include <gtest/gtest.h>

#include <boost/filesystem.hpp>
#include <boost/make_shared.hpp>
#include <boost/optional.hpp>

#include <fstream>
#include <numeric>
Expand Down
2 changes: 0 additions & 2 deletions nano/core_test/signal_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@

#include <gtest/gtest.h>

#include <boost/format.hpp>

#include <csignal>
#include <iostream>
#include <thread>
Expand Down
2 changes: 0 additions & 2 deletions nano/core_test/socket.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#include <nano/boost/asio/ip/address_v6.hpp>
#include <nano/boost/asio/ip/network_v6.hpp>
#include <nano/lib/thread_runner.hpp>
#include <nano/lib/threading.hpp>
#include <nano/node/transport/socket.hpp>
#include <nano/test_common/system.hpp>
#include <nano/test_common/testutil.hpp>
Expand Down
3 changes: 0 additions & 3 deletions nano/core_test/wallet.cpp
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
#include <nano/crypto_lib/random_pool.hpp>
#include <nano/lib/thread_runner.hpp>
#include <nano/lib/threading.hpp>
#include <nano/store/lmdb/wallet_value.hpp>
#include <nano/test_common/system.hpp>
#include <nano/test_common/testutil.hpp>

#include <gtest/gtest.h>

#include <boost/filesystem.hpp>

using namespace std::chrono_literals;
unsigned constexpr nano::wallet_store::version_current;

Expand Down
1 change: 0 additions & 1 deletion nano/rpc_test/common.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <boost/asio/io_context.hpp>
#include <boost/asio/ip/tcp.hpp>
#include <boost/beast/core/flat_buffer.hpp>
#include <boost/beast/http.hpp>
Expand Down
1 change: 0 additions & 1 deletion nano/rpc_test/rpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#include <nano/boost/beast/http.hpp>
#include <nano/lib/rpcconfig.hpp>
#include <nano/lib/thread_runner.hpp>
#include <nano/lib/threading.hpp>
#include <nano/node/ipc/ipc_server.hpp>
#include <nano/node/json_handler.hpp>
#include <nano/node/node_rpc_config.hpp>
Expand Down
2 changes: 0 additions & 2 deletions nano/secure/network_filter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

#include <nano/lib/numbers.hpp>

#include <mutex>

#include <cryptopp/seckey.h>
#include <cryptopp/siphash.h>

Expand Down
3 changes: 0 additions & 3 deletions nano/slow_test/bootstrap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@

#include <gtest/gtest.h>

#include <boost/format.hpp>

#include <map>
#include <thread>

using namespace std::chrono_literals;
Expand Down
2 changes: 0 additions & 2 deletions nano/slow_test/node.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include <nano/crypto_lib/random_pool.hpp>
#include <nano/lib/thread_runner.hpp>
#include <nano/lib/threading.hpp>
#include <nano/node/election.hpp>
#include <nano/node/make_store.hpp>
#include <nano/node/scheduler/component.hpp>
Expand All @@ -17,7 +16,6 @@
#include <boost/format.hpp>
#include <boost/unordered_set.hpp>

#include <numeric>
#include <random>

using namespace std::chrono_literals;
Expand Down
1 change: 0 additions & 1 deletion nano/test_common/ledger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

#include <nano/lib/logger_mt.hpp>
#include <nano/lib/stats.hpp>
#include <nano/node/common.hpp>
#include <nano/secure/ledger.hpp>

namespace nano
Expand Down
1 change: 0 additions & 1 deletion nano/test_common/rate_observer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include <chrono>
#include <string>
#include <thread>
#include <utility>
#include <vector>

namespace nano::test
Expand Down
2 changes: 0 additions & 2 deletions nano/test_common/telemetry.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#pragma once

#include <cstdint>

namespace nano
{
class node;
Expand Down
2 changes: 0 additions & 2 deletions nano/test_common/testutil.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
#pragma once

#include <nano/lib/errors.hpp>
#include <nano/lib/locks.hpp>
#include <nano/lib/timer.hpp>
#include <nano/node/transport/channel.hpp>
#include <nano/node/transport/transport.hpp>

#include <gtest/gtest.h>

Expand Down
Loading