cql3: Implement operator== for column_identifier::raw

This commit is contained in:
Tomasz Grabiec
2015-02-12 18:12:15 +01:00
parent ee699bff1c
commit 6ca084fdb3

View File

@@ -162,16 +162,9 @@ public:
return false;
}
#if 0
@Override
public final boolean equals(Object o)
{
if(!(o instanceof ColumnIdentifier.Raw))
return false;
ColumnIdentifier.Raw that = (ColumnIdentifier.Raw)o;
return text.equals(that.text);
bool operator==(const raw& other) const {
return _text == other._text;
}
#endif
virtual sstring to_string() const {
return _text;