fixes and tweaks

This commit is contained in:
Green Sky 2023-01-16 15:45:54 +01:00
parent 78069a8032
commit 1f0e086b7a
No known key found for this signature in database
4 changed files with 5 additions and 4 deletions

View File

@ -794,7 +794,7 @@ inline DWORD int64_low(int64_t n) noexcept
return n & 0xffffffff;
}
std::wstring s_2_ws(const std::string& s)
inline std::wstring s_2_ws(const std::string& s)
{
if (s.empty())
return{};

@ -1 +1 @@
Subproject commit c9479153892ff3aee0e65d33cc61aff8df6aa7bc
Subproject commit fc13d93d42d6e4e0a4a5b7be3ff18672e68e4600

@ -1 +1 @@
Subproject commit bbe4453833ad561c79a7cae1a5ac5e66d06535f7
Subproject commit a4497390508cab73ac62a8d36aac3d018f10df49

View File

@ -127,7 +127,8 @@ target_include_directories(toxcore PRIVATE "${TOX_DIR}toxcore")
target_include_directories(toxcore PUBLIC "${TOX_DIR}")
target_compile_definitions(toxcore PUBLIC USE_IPV6=1)
target_compile_definitions(toxcore PUBLIC MIN_LOGGER_LEVEL=LOGGER_LEVEL_DEBUG)
#target_compile_definitions(toxcore PUBLIC MIN_LOGGER_LEVEL=LOGGER_LEVEL_DEBUG)
target_compile_definitions(toxcore PUBLIC MIN_LOGGER_LEVEL=LOGGER_LEVEL_INFO)
find_package(unofficial-sodium CONFIG QUIET)
find_package(sodium QUIET)