Fix minor issues for GCC

This commit is contained in:
Benoit Blanchon
2014-10-14 09:50:58 +02:00
parent 3ce5e53323
commit 95a2d6714e
2 changed files with 9 additions and 6 deletions

View File

@ -1,12 +1,14 @@
/*
* Arduino JSON library
* Benoit Blanchon 2014 - MIT License
*/
/*
* Arduino JSON library
* Benoit Blanchon 2014 - MIT License
*/
#pragma once
#ifndef ARDUINO
#include <stddef.h>
class Print;
class Printable

View File

@ -1,4 +1,5 @@
#include <gtest/gtest.h>
#include <JsonArray.h>
#include <JsonObject.h>
#include <JsonValue.h>
#include <StaticJsonBuffer.h>
@ -126,7 +127,7 @@ TEST_F(JsonObject_Serialization_Tests, OneFalse)
TEST_F(JsonObject_Serialization_Tests, OneEmptyNestedArrayViaProxy)
{
auto nestedArray = json.createArray();
JsonArray nestedArray = json.createArray();
object["key"] = nestedArray;
@ -135,7 +136,7 @@ TEST_F(JsonObject_Serialization_Tests, OneEmptyNestedArrayViaProxy)
TEST_F(JsonObject_Serialization_Tests, OneEmptyNestedObjectViaProxy)
{
auto nestedArray = json.createObject();
JsonObject nestedArray = json.createObject();
object["key"] = nestedArray;