mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Add String::replace_char(s) methods for performance and convenience
This commit is contained in:
@@ -146,7 +146,7 @@ Error DirAccess::make_dir_recursive(const String &p_dir) {
|
||||
full_dir = p_dir;
|
||||
}
|
||||
|
||||
full_dir = full_dir.replace("\\", "/");
|
||||
full_dir = full_dir.replace_char('\\', '/');
|
||||
|
||||
String base;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user