Revert "Merge pull request #134 from elpendor/unstable"

This reverts commit 896e0f460b, reversing
changes made to 56b5127200.
This commit is contained in:
Aloshi 2013-09-25 14:38:53 -05:00
parent 896e0f460b
commit 71f0dbf7e5
2 changed files with 3 additions and 3 deletions

View file

@ -35,7 +35,7 @@ endif()
find_package(FreeType REQUIRED)
find_package(FreeImage REQUIRED)
find_package(SDL2 REQUIRED)
find_package(Boost REQUIRED COMPONENTS system filesystem)
find_package(Boost REQUIRED COMPONENTS system filesystem regex)
find_package(Eigen3 REQUIRED)
#add ALSA for Linux

View file

@ -1,6 +1,6 @@
#include "GameData.h"
#include <boost/filesystem.hpp>
#include <regex>
#include <boost/regex/v4/regex.hpp>
#include <iostream>
#include <ctime>
#include <sstream>
@ -60,7 +60,7 @@ std::string GameData::getBaseName() const
std::string GameData::getCleanName() const
{
return regex_replace(mBaseName, std::regex("\\((.*)\\)|\\[(.*)\\]"), "");
return regex_replace(mBaseName, boost::regex("\\((.*)\\)|\\[(.*)\\]"), "");
}
void GameData::incTimesPlayed()