diff --git a/sstables/sstables.cc b/sstables/sstables.cc index 1f629bd5c5..6f044e31f7 100644 --- a/sstables/sstables.cc +++ b/sstables/sstables.cc @@ -267,8 +267,8 @@ future<> parse(const schema& s, sstable_version_types v, random_access_reader& i } // Intended to be used for a type that describes itself through describe_type(). -template -typename std::enable_if_t::value && !std::is_enum::value, future<>> +template +future<> parse(const schema& s, sstable_version_types v, random_access_reader& in, T& t) { return t.describe_type(v, [v, &s, &in] (auto&&... what) -> future<> { return parse(s, v, in, what...);