partition_key_view: Implement operator<<

The operator is declared, but it isn't implemented. This patch fixes
that.

Signed-off-by: Duarte Nunes <duarte@scylladb.com>
Message-Id: <1475225647-3800-1-git-send-email-duarte@scylladb.com>
This commit is contained in:
Duarte Nunes
2016-09-30 10:54:07 +02:00
committed by Tomasz Grabiec
parent a36888f3cb
commit 0c8f280af7

View File

@@ -28,6 +28,9 @@
std::ostream& operator<<(std::ostream& out, const partition_key& pk) {
return out << "pk{" << to_hex(pk) << "}";
}
std::ostream& operator<<(std::ostream& out, const partition_key_view& pk) {
return out << "pk{" << to_hex(pk.representation()) << "}";
}
std::ostream& operator<<(std::ostream& out, const clustering_key_prefix& ckp) {
return out << "ckp{" << to_hex(ckp) << "}";