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:
committed by
Tomasz Grabiec
parent
a36888f3cb
commit
0c8f280af7
3
keys.cc
3
keys.cc
@@ -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) << "}";
|
||||
|
||||
Reference in New Issue
Block a user