From 47a596e8f590d3c230797e7d06d0b0ada291767a Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Thu, 7 Jan 2021 15:14:57 +0800 Subject: [PATCH] include/CompatSet: do not "using ceph::operator<<" it's simply not correct. because "operator<<(std::ostream&out, const std::pair&)" and friends are defined in "namespace std", and what this source file intents to use are exactly these operator<<'s, there is no need to bring any "ceph::operator<<" into this scope. Signed-off-by: Kefu Chai --- src/include/CompatSet.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/include/CompatSet.h b/src/include/CompatSet.h index 3439cc82ff6..2f913177692 100644 --- a/src/include/CompatSet.h +++ b/src/include/CompatSet.h @@ -257,7 +257,6 @@ struct CompatSet { }; WRITE_CLASS_ENCODER(CompatSet) -using ceph::operator <<; inline std::ostream& operator<<(std::ostream& out, const CompatSet::FeatureSet& fs) { return out << fs.names; -- 2.39.5