@@ -143,13 +143,13 @@ class MString {
143
143
144
144
// Set with format string and arguments, like printf
145
145
template <typename ... Args>
146
- MString& setf_P (PGM_P const fmt , Args... more) { SNPRINTF_P (str, SIZE, fmt , more...); debug (F (" setf_P" )); return *this ; }
146
+ MString& setf_P (PGM_P const pfmt , Args... more) { SNPRINTF_P (str, SIZE, pfmt , more...); debug (F (" setf_P" )); return *this ; }
147
147
148
148
template <typename ... Args>
149
- MString& setf (const char *fmt, Args... more) { SNPRINTF (str, SIZE, fmt, more...); debug (F (" setf" )); return *this ; }
149
+ MString& setf (const char *fmt, Args... more) { SNPRINTF (str, SIZE, fmt, more...); debug (F (" setf" )); return *this ; }
150
150
151
151
template <typename ... Args>
152
- MString& setf (FSTR_P const fmt , Args... more) { return setf_P (FTOP (fmt ), more...); }
152
+ MString& setf (FSTR_P const ffmt , Args... more) { return setf_P (FTOP (ffmt ), more...); }
153
153
154
154
// Chainable String appenders
155
155
MString& append () { debug (F (" nil" )); return *this ; } // for macros that might emit no output
@@ -206,9 +206,9 @@ class MString {
206
206
MString& append (const spaces_t &s) { return append (repchr_t (' ' , s.count )); }
207
207
208
208
template <typename ... Args>
209
- MString& appendf_P (PGM_P const fmt , Args... more) {
209
+ MString& appendf_P (PGM_P const pfmt , Args... more) {
210
210
int sz = length ();
211
- if (sz < SIZE) SNPRINTF_P (str + sz, SIZE - sz, fmt , more...);
211
+ if (sz < SIZE) SNPRINTF_P (str + sz, SIZE - sz, pfmt , more...);
212
212
debug (F (" appendf_P" ));
213
213
return *this ;
214
214
}
0 commit comments