Skip to content

Commit 64702dc

Browse files
committed
Fix line endings
1 parent b91da7e commit 64702dc

File tree

5 files changed

+4
-7
lines changed

5 files changed

+4
-7
lines changed

common/ThreadPool.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
namespace cppbase {
2727

28-
enum class ThreadPriority
28+
enum class ThreadPriority : int32_t
2929
{
3030
IDLE = 10,
3131
LOW = 30,
@@ -60,6 +60,7 @@ class DLLEXPORT ThreadPool
6060
* set to CPU1, CPU2, CPU3, CPU1, and CPU0 is not used.
6161
*/
6262
explicit ThreadPool(uint32_t threads, ThreadPriority priority, uint32_t cpu_reserved = 0);
63+
ThreadPool() = delete;
6364
~ThreadPool();
6465

6566
template<class F, class... Args>

tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ cmake_minimum_required(VERSION 3.10)
22

33
add_subdirectory(common)
44
add_subdirectory(logging)
5-
# add_subdirectory(network)
5+
add_subdirectory(network)
66
# add_subdirectory(serialization)

tests/common/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ add_executable(common_test ${SOURCE})
1313

1414
target_include_directories(common_test PUBLIC
1515
${CMAKE_SOURCE_DIR}
16-
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
17-
$<INSTALL_INTERFACE:include>
1816
)
1917

2018
# set_target_warnings_as_error(TARGET common_test)

tests/logging/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ add_executable(logging_test ${SOURCE})
99

1010
target_include_directories(logging_test PUBLIC
1111
${CMAKE_SOURCE_DIR}
12-
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
13-
$<INSTALL_INTERFACE:include>
1412
)
1513

1614
# set_target_warnings_as_error(TARGET logging_test)

thirdparty/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ download_project(
1818
QUIET
1919
)
2020
add_library(asio INTERFACE)
21-
target_include_directories(asio INTERFACE ${asio_SOURCE_DIR/include})
21+
target_include_directories(asio INTERFACE ${asio_SOURCE_DIR}/include)
2222

2323
# ============================================================
2424
# fmt

0 commit comments

Comments
 (0)