From b9e96d1b28eb5fa69f5c8e572e13695669354b23 Mon Sep 17 00:00:00 2001 From: Aki Date: Tue, 7 Jun 2022 16:54:43 +0200 Subject: Renamed internal common to config --- library/CMakeLists.txt | 2 +- library/src/client.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'library') diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt index a454186..71ed16c 100644 --- a/library/CMakeLists.txt +++ b/library/CMakeLists.txt @@ -8,7 +8,7 @@ add_library(${PROJECT_NAME} SHARED target_link_libraries(${PROJECT_NAME} PUBLIC rpclib::rpc PUBLIC Threads::Threads - PRIVATE common + PRIVATE config ) target_include_directories(${PROJECT_NAME} PUBLIC "$" diff --git a/library/src/client.cpp b/library/src/client.cpp index 187f36e..d58e411 100644 --- a/library/src/client.cpp +++ b/library/src/client.cpp @@ -2,11 +2,11 @@ #include -#include +#include rpc::client & get_client() { - static rpc::client c(hwd::internal::host(), hwd::internal::port()); + static rpc::client c(hwd::config::host(), hwd::config::port()); return c; } -- cgit v1.1