@@ -166,7 +166,7 @@ class JsonVariant : public Internals::JsonPrintable<JsonVariant> {
private:
// Special constructor used only to create _invalid.
- JsonVariant(Internals::JsonVariantType type) : _type(type) {}
+ explicit JsonVariant(Internals::JsonVariantType type) : _type(type) {}
// Helper for interger cast operators
template <typename T>
@@ -12,7 +12,7 @@
using namespace ArduinoJson;
class IntegrationTests : public testing::TestWithParam<const char*> {
- const static size_t MAX_JSON_SIZE = 10000;
+ static const size_t MAX_JSON_SIZE = 10000;
protected:
virtual void SetUp() {