diff --git a/cql3/cql3_type.hh b/cql3/cql3_type.hh index cfa116ea7d..c00dc6e514 100644 --- a/cql3/cql3_type.hh +++ b/cql3/cql3_type.hh @@ -77,6 +77,9 @@ private: class raw_collection; class raw_ut; class raw_tuple; + friend std::string_view format_as(const cql3_type& t) { + return t.to_string(); + } friend std::ostream& operator<<(std::ostream& os, const cql3_type& t) { return os << t.to_string(); }