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;