From e0ce711eb45ecdf3bdc8c52eb2d876ef77feba4f Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Tue, 11 Nov 2014 16:43:29 +0100 Subject: [PATCH] Fixed cpplint warnings --- include/ArduinoJson/JsonVariant.hpp | 2 +- test/IntegrationTests.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/ArduinoJson/JsonVariant.hpp b/include/ArduinoJson/JsonVariant.hpp index 9273c65b..ff39130b 100644 --- a/include/ArduinoJson/JsonVariant.hpp +++ b/include/ArduinoJson/JsonVariant.hpp @@ -166,7 +166,7 @@ class JsonVariant : public Internals::JsonPrintable { 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 diff --git a/test/IntegrationTests.cpp b/test/IntegrationTests.cpp index a8fb6062..908e8430 100644 --- a/test/IntegrationTests.cpp +++ b/test/IntegrationTests.cpp @@ -12,7 +12,7 @@ using namespace ArduinoJson; class IntegrationTests : public testing::TestWithParam { - const static size_t MAX_JSON_SIZE = 10000; + static const size_t MAX_JSON_SIZE = 10000; protected: virtual void SetUp() {