Skip to content

Commit

Permalink
database: Don't break namespace withexternal alias
Browse files Browse the repository at this point in the history
The namespace replica is broken in the middle with sstable_list alias,
while the latter can be declared earlier

Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>

Closes scylladb#18664
  • Loading branch information
xemul authored and denesb committed May 14, 2024
1 parent 9ab57b1 commit 59aec1f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions replica/database.hh
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -284,12 +285,6 @@ private:
lw_shared_ptr<memtable> new_memtable();
};

}

using sstable_list = sstables::sstable_list;

namespace replica {

class distributed_loader;
class table_populator;

Expand Down

0 comments on commit 59aec1f

Please sign in to comment.