@@ -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