mirror of
				https://github.com/Laupetin/OpenAssetTools.git
				synced 2025-10-31 10:36:58 +00:00 
			
		
		
		
	refactor: use std ranges functions where applicable
This commit is contained in:
		| @@ -139,7 +139,7 @@ class AssetDumperSndBank::Internal | ||||
|     { | ||||
|         fs::path assetPath(m_context.m_base_path); | ||||
|  | ||||
|         std::replace(outputFileName.begin(), outputFileName.end(), '\\', '/'); | ||||
|         std::ranges::replace(outputFileName, '\\', '/'); | ||||
|         for (const auto& droppedPrefix : PREFIXES_TO_DROP) | ||||
|         { | ||||
|             if (outputFileName.rfind(droppedPrefix, 0) != std::string::npos) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user