diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b8fa5a96..6d781c99a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,7 +35,7 @@ endif() find_package(FreeType REQUIRED) find_package(FreeImage REQUIRED) find_package(SDL2 REQUIRED) -find_package(Boost REQUIRED COMPONENTS system filesystem regex) +find_package(Boost REQUIRED COMPONENTS system filesystem) find_package(Eigen3 REQUIRED) #add ALSA for Linux diff --git a/src/GameData.cpp b/src/GameData.cpp index d6f11ca3e..28c636790 100644 --- a/src/GameData.cpp +++ b/src/GameData.cpp @@ -1,6 +1,6 @@ #include "GameData.h" #include -#include +#include #include #include #include @@ -60,7 +60,7 @@ std::string GameData::getBaseName() const std::string GameData::getCleanName() const { - return regex_replace(mBaseName, boost::regex("\\((.*)\\)|\\[(.*)\\]"), ""); + return regex_replace(mBaseName, std::regex("\\((.*)\\)|\\[(.*)\\]"), ""); } void GameData::incTimesPlayed()