mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	StringUtil: Perform some minimal cleanup.
This commit is contained in:
		
							parent
							
								
									4d4572c697
								
							
						
					
					
						commit
						3d8c6e61be
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -2,7 +2,7 @@ | ||||||
| // Licensed under GPLv2
 | // Licensed under GPLv2
 | ||||||
| // Refer to the license.txt file included.
 | // Refer to the license.txt file included.
 | ||||||
| 
 | 
 | ||||||
| #include <algorithm> | #include <boost/range/algorithm.hpp> | ||||||
| 
 | 
 | ||||||
| #include "common/common.h" | #include "common/common.h" | ||||||
| #include "common/string_util.h" | #include "common/string_util.h" | ||||||
|  | @ -18,13 +18,13 @@ namespace Common { | ||||||
| 
 | 
 | ||||||
| /// Make a string lowercase
 | /// Make a string lowercase
 | ||||||
| std::string ToLower(std::string str) { | std::string ToLower(std::string str) { | ||||||
|     std::transform(str.begin(), str.end(), str.begin(), ::tolower); |     boost::transform(str, str.begin(), ::tolower); | ||||||
|     return str; |     return str; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /// Make a string uppercase
 | /// Make a string uppercase
 | ||||||
| std::string ToUpper(std::string str) { | std::string ToUpper(std::string str) { | ||||||
|     std::transform(str.begin(), str.end(), str.begin(), ::toupper); |     boost::transform(str, str.begin(), ::toupper); | ||||||
|     return str; |     return str; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue