From 564771157840809233bf1fd162b18b1f0686ddf0 Mon Sep 17 00:00:00 2001 From: beder Date: Sat, 21 Jan 2012 02:02:24 -0600 Subject: [PATCH] Added != for Binary --- include/yaml-cpp/binary.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/yaml-cpp/binary.h b/include/yaml-cpp/binary.h index 28a2bb1..2c2d098 100644 --- a/include/yaml-cpp/binary.h +++ b/include/yaml-cpp/binary.h @@ -48,6 +48,10 @@ namespace YAML return true; } + bool operator != (const Binary& rhs) const { + return !(*this == rhs); + } + private: std::vector m_data; const unsigned char *m_unownedData;