Skip to content

Commit

Permalink
Added pragma to disable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
bblanchon committed Jan 13, 2015
1 parent 9cff0c2 commit 67f0569
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/ArduinoJson/JsonBuffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
#include <stddef.h> // for size_t
#include <stdint.h> // for uint8_t

#if defined(__clang__)
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#elif defined(__GNUC__)
#pragma gcc diagnostic ignored "-Wnon-virtual-dtor"
#endif

namespace ArduinoJson {
class JsonArray;
class JsonObject;
Expand Down

0 comments on commit 67f0569

Please sign in to comment.