Added != for Binary

This commit is contained in:
beder
2012-01-21 02:02:24 -06:00
parent 2731f862a5
commit 5647711578

View File

@@ -48,6 +48,10 @@ namespace YAML
return true; return true;
} }
bool operator != (const Binary& rhs) const {
return !(*this == rhs);
}
private: private:
std::vector<unsigned char> m_data; std::vector<unsigned char> m_data;
const unsigned char *m_unownedData; const unsigned char *m_unownedData;