mirror of
				https://github.com/RetroDECK/ES-DE.git
				synced 2025-04-10 19:15:13 +00:00 
			
		
		
		
	Replaced boost's regex with std's regex
This commit is contained in:
		
							parent
							
								
									56b5127200
								
							
						
					
					
						commit
						8c768e057d
					
				|  | @ -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 | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| #include "GameData.h" | ||||
| #include <boost/filesystem.hpp> | ||||
| #include <boost/regex/v4/regex.hpp> | ||||
| #include <regex> | ||||
| #include <iostream> | ||||
| #include <ctime> | ||||
| #include <sstream> | ||||
|  | @ -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() | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Juan Pablo
						Juan Pablo