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;