Skip to content

Commit 199d68f

Browse files
authored
Merge pull request #41 from mpretty-cyro/fix/xcode-debugger-name-collision
Renaming 'network' to 'session_network' because xcode can't debug
2 parents 7d6f84d + 79c7eaa commit 199d68f

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed
File renamed without changes.
File renamed without changes.

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ if(ENABLE_ONIONREQ)
104104
onionreq/key_types.cpp
105105
onionreq/parser.cpp
106106
onionreq/response_parser.cpp
107-
network.cpp
107+
session_network.cpp
108108
)
109109

110110
target_link_libraries(onionreq

src/onionreq/builder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
#include <oxen/quic/address.hpp>
2323

2424
#include "session/export.h"
25-
#include "session/network.hpp"
2625
#include "session/onionreq/builder.h"
2726
#include "session/onionreq/hop_encryption.hpp"
2827
#include "session/onionreq/key_types.hpp"
28+
#include "session/session_network.hpp"
2929
#include "session/util.hpp"
3030
#include "session/xed25519.hpp"
3131

src/network.cpp renamed to src/session_network.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "session/network.hpp"
1+
#include "session/session_network.hpp"
22

33
#include <fmt/ranges.h>
44
#include <oxenc/base64.h>
@@ -24,11 +24,11 @@
2424
#include "session/ed25519.hpp"
2525
#include "session/export.h"
2626
#include "session/file.hpp"
27-
#include "session/network.h"
2827
#include "session/onionreq/builder.h"
2928
#include "session/onionreq/builder.hpp"
3029
#include "session/onionreq/key_types.hpp"
3130
#include "session/onionreq/response_parser.hpp"
31+
#include "session/session_network.h"
3232
#include "session/util.hpp"
3333

3434
using namespace oxen;

tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ set(LIB_SESSION_UTESTS_SOURCES
3030
)
3131

3232
if (ENABLE_ONIONREQ)
33-
list(APPEND LIB_SESSION_UTESTS_SOURCES test_network.cpp)
33+
list(APPEND LIB_SESSION_UTESTS_SOURCES test_session_network.cpp)
3434
list(APPEND LIB_SESSION_UTESTS_SOURCES test_onionreq.cpp)
3535
endif()
3636

tests/test_onionreq.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include <catch2/catch_test_macros.hpp>
2-
#include <session/network.hpp>
32
#include <session/onionreq/hop_encryption.hpp>
43
#include <session/onionreq/parser.hpp>
4+
#include <session/session_network.hpp>
55

66
#include "utils.hpp"
77

tests/test_network.cpp renamed to tests/test_session_network.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#include <fmt/core.h>
2-
#include <session/network.h>
2+
#include <session/session_network.h>
33
#include <sodium/randombytes.h>
44

55
#include <catch2/catch_test_macros.hpp>
66
#include <chrono>
77
#include <nlohmann/json.hpp>
8-
#include <session/network.hpp>
98
#include <session/onionreq/key_types.hpp>
9+
#include <session/session_network.hpp>
1010
#include <tuple>
1111

1212
#include "utils.hpp"

0 commit comments

Comments
 (0)