From 59aec1f30073ff3ce5542c6c19aaf5c418fda27f Mon Sep 17 00:00:00 2001 From: Pavel Emelyanov Date: Tue, 14 May 2024 11:17:37 +0300 Subject: [PATCH] database: Don't break namespace withexternal alias The namespace replica is broken in the middle with sstable_list alias, while the latter can be declared earlier Signed-off-by: Pavel Emelyanov Closes scylladb/scylladb#18664 --- replica/database.hh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/replica/database.hh b/replica/database.hh index b745abb323..7086e75417 100644 --- a/replica/database.hh +++ b/replica/database.hh @@ -139,6 +139,7 @@ class mutation_reordered_with_truncate_exception : public std::exception {}; class column_family_test; class table_for_tests; class database_test; +using sstable_list = sstables::sstable_list; extern logging::logger dblog; @@ -284,12 +285,6 @@ private: lw_shared_ptr new_memtable(); }; -} - -using sstable_list = sstables::sstable_list; - -namespace replica { - class distributed_loader; class table_populator;