summaryrefslogtreecommitdiff
path: root/include/lib/ArduinoJson/Serialization/JsonPrintable.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/lib/ArduinoJson/Serialization/JsonPrintable.hpp')
-rw-r--r--include/lib/ArduinoJson/Serialization/JsonPrintable.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/lib/ArduinoJson/Serialization/JsonPrintable.hpp b/include/lib/ArduinoJson/Serialization/JsonPrintable.hpp
index 43d413a..e73f8fb 100644
--- a/include/lib/ArduinoJson/Serialization/JsonPrintable.hpp
+++ b/include/lib/ArduinoJson/Serialization/JsonPrintable.hpp
@@ -49,9 +49,9 @@ class JsonPrintable {
return printTo(sb);
}
- template <size_t N>
- size_t printTo(char (&buffer)[N]) const {
- return printTo(buffer, N);
+ template <size_t TN>
+ size_t printTo(char (&buffer)[TN]) const {
+ return printTo(buffer, TN);
}
template <typename TString>
@@ -72,9 +72,9 @@ class JsonPrintable {
return prettyPrintTo(sb);
}
- template <size_t N>
- size_t prettyPrintTo(char (&buffer)[N]) const {
- return prettyPrintTo(buffer, N);
+ template <size_t TN>
+ size_t prettyPrintTo(char (&buffer)[TN]) const {
+ return prettyPrintTo(buffer, TN);
}
template <typename Print>