Move to C++14
Replaces a single reset with make_unique to see if things compile in CI. Also reverts a CI-specific RPATH change which prevented the wallet from running on macOS dev machines
This commit is contained in:
parent
ce215d0009
commit
fe8d6e9760
2 changed files with 4 additions and 8 deletions
|
@ -7,12 +7,8 @@ set (CPACK_PACKAGE_VERSION_PATCH "1")
|
|||
|
||||
set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
|
||||
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
set(CMAKE_INSTALL_RPATH "@loader_path/../Frameworks")
|
||||
else()
|
||||
set(CMAKE_INSTALL_RPATH "\$ORIGIN/../lib:\$ORIGIN/")
|
||||
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||
endif()
|
||||
set(CMAKE_INSTALL_RPATH "\$ORIGIN/../lib:\$ORIGIN/")
|
||||
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||
|
||||
set (RAIBLOCKS_GUI OFF CACHE BOOL "")
|
||||
set (RAIBLOCKS_TEST OFF CACHE BOOL "")
|
||||
|
@ -70,7 +66,7 @@ endif (WIN32)
|
|||
if (WIN32)
|
||||
set (PLATFORM_CXX_FLAGS "/bigobj")
|
||||
else (WIN32)
|
||||
set (PLATFORM_CXX_FLAGS "-std=c++11")
|
||||
set (PLATFORM_CXX_FLAGS "-std=c++14")
|
||||
endif (WIN32)
|
||||
|
||||
if (WIN32)
|
||||
|
|
|
@ -124,7 +124,7 @@ void rai_daemon::daemon::run (boost::filesystem::path const & data_path)
|
|||
{
|
||||
rpc->start ();
|
||||
}
|
||||
runner.reset (new rai::thread_runner (service, node->config.io_threads));
|
||||
runner = std::make_unique<rai::thread_runner> (service, node->config.io_threads);
|
||||
runner->join ();
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue