From 0351db2461da24b6c1ec063b409ee064693d2cec Mon Sep 17 00:00:00 2001 From: Tyler Neely Date: Thu, 21 Jul 2022 11:45:05 +0000 Subject: [PATCH] Move future.hpp to src/io --- src/io/CMakeLists.txt | 3 ++- src/io/{v3 => }/future.hpp | 0 src/io/v3/CMakeLists.txt | 1 - src/io/v3/transport.hpp | 2 +- tests/simulation/future.cpp | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename src/io/{v3 => }/future.hpp (100%) diff --git a/src/io/CMakeLists.txt b/src/io/CMakeLists.txt index 128e87114..b6eefc4b5 100644 --- a/src/io/CMakeLists.txt +++ b/src/io/CMakeLists.txt @@ -2,7 +2,8 @@ set(io_src_files network/addrinfo.cpp network/endpoint.cpp network/socket.cpp - network/utils.cpp) + network/utils.cpp + future.hpp) find_package(fmt REQUIRED) find_package(Threads REQUIRED) diff --git a/src/io/v3/future.hpp b/src/io/future.hpp similarity index 100% rename from src/io/v3/future.hpp rename to src/io/future.hpp diff --git a/src/io/v3/CMakeLists.txt b/src/io/v3/CMakeLists.txt index 6017b866c..9f24ef0e2 100644 --- a/src/io/v3/CMakeLists.txt +++ b/src/io/v3/CMakeLists.txt @@ -1,7 +1,6 @@ set(io_v3_sources address.hpp errors.hpp - future.hpp transport.hpp simulator.hpp simulator_handle.hpp diff --git a/src/io/v3/transport.hpp b/src/io/v3/transport.hpp index e077f3479..ddf1f2203 100644 --- a/src/io/v3/transport.hpp +++ b/src/io/v3/transport.hpp @@ -17,9 +17,9 @@ #include "utils/result.hpp" +#include "io/future.hpp" #include "io/v3/address.hpp" #include "io/v3/errors.hpp" -#include "io/v3/future.hpp" using memgraph::utils::BasicResult; diff --git a/tests/simulation/future.cpp b/tests/simulation/future.cpp index 76a2e61b1..94d3154c0 100644 --- a/tests/simulation/future.cpp +++ b/tests/simulation/future.cpp @@ -12,7 +12,7 @@ #include #include -#include "io/v3/future.hpp" +#include "io/future.hpp" #include "utils/logging.hpp" using namespace memgraph::io;