From 2f8fde6772535caf4dd9fbc4b438570c1a52125a Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Mon, 3 Nov 2014 18:25:17 +0100 Subject: [PATCH] Added ReferenceType::operator!=() --- include/ArduinoJson/Internals/ReferenceType.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/ArduinoJson/Internals/ReferenceType.hpp b/include/ArduinoJson/Internals/ReferenceType.hpp index 8c2e1a9b..ee07fd2f 100644 --- a/include/ArduinoJson/Internals/ReferenceType.hpp +++ b/include/ArduinoJson/Internals/ReferenceType.hpp @@ -18,6 +18,8 @@ class ReferenceType { return this == &other; } + bool operator!=(const ReferenceType& other) const { return this != &other; } + protected: ReferenceType() {}