mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-10 22:31:40 +02:00
Remove boost::thread from cmakelists
This commit is contained in:
@@ -462,7 +462,7 @@ endif()
|
||||
# Finding packages #
|
||||
############################################
|
||||
|
||||
set(BOOST_COMPONENTS date_time filesystem locale program_options system thread)
|
||||
set(BOOST_COMPONENTS date_time filesystem locale program_options system)
|
||||
if(ENABLE_INNOEXTRACT)
|
||||
list(APPEND BOOST_COMPONENTS iostreams)
|
||||
endif()
|
||||
|
@@ -317,7 +317,7 @@ void CConsoleHandler::end()
|
||||
|
||||
void CConsoleHandler::start()
|
||||
{
|
||||
thread = std::thread(std::bind(&CConsoleHandler::run,console));
|
||||
thread = std::thread(std::bind(&CConsoleHandler::run, this));
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
Reference in New Issue
Block a user