mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-27 03:36:00 -05:00
Add return value to ReplaceAll()
Returns true of the string was modified and false otherwise
This commit is contained in:
@@ -16,7 +16,7 @@ EXPORT std::pair<int, int> GetCursorPos();
|
||||
|
||||
EXPORT bool DoubleEquals(double left, double right, double epsilon);
|
||||
|
||||
void ReplaceAll(std::string &str, const std::string &from,
|
||||
bool ReplaceAll(std::string &str, const std::string &from,
|
||||
const std::string &to);
|
||||
EXPORT std::optional<std::string> GetJsonField(const std::string &json,
|
||||
const std::string &id);
|
||||
|
||||
Reference in New Issue
Block a user