refactor(strhelpers): extract shared strReplaceAll helper (#7711)
Co-authored-by: philmoz <philmoz@users.noreply.github.com> Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
philmoz
Claude Sonnet 5
parent
2b9b8fd479
commit
8347285abe
@@ -208,6 +208,10 @@ std::string getTelemTime(TelemetryItem &telemetryItem);
|
||||
|
||||
int countDigits(int number);
|
||||
|
||||
// Replace all occurrences of 'from' with 'to' in 'str', in place.
|
||||
void strReplaceAll(std::string &str, const std::string &from,
|
||||
const std::string &to);
|
||||
|
||||
// Timezone handling
|
||||
extern int8_t minTimezone();
|
||||
extern int8_t maxTimezone();
|
||||
|
||||
Reference in New Issue
Block a user