From db43edb2127508efc97689c85419c686b7325626 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Wed, 4 Oct 2017 16:26:38 -0700 Subject: [PATCH] ircd: Various labels to help de-virtualization on recommendation of -Wsuggest-final-types. --- ircd/db.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ircd/db.cc b/ircd/db.cc index 936f46993..6446e9e23 100644 --- a/ircd/db.cc +++ b/ircd/db.cc @@ -89,7 +89,7 @@ namespace ircd::db std::vector column_names(const std::string &path, const std::string &options); } -struct ircd::db::database::logs +struct ircd::db::database::logs final :std::enable_shared_from_this ,rocksdb::Logger { @@ -105,7 +105,7 @@ struct ircd::db::database::logs {} }; -struct ircd::db::database::stats +struct ircd::db::database::stats final :std::enable_shared_from_this ,rocksdb::Statistics { @@ -126,7 +126,7 @@ struct ircd::db::database::stats {} }; -struct ircd::db::database::events +struct ircd::db::database::events final :std::enable_shared_from_this ,rocksdb::EventListener { @@ -145,7 +145,7 @@ struct ircd::db::database::events {} }; -struct ircd::db::database::mergeop +struct ircd::db::database::mergeop final :std::enable_shared_from_this ,rocksdb::AssociativeMergeOperator { @@ -161,7 +161,7 @@ struct ircd::db::database::mergeop {} }; -struct ircd::db::database::comparator +struct ircd::db::database::comparator final :rocksdb::Comparator { using Slice = rocksdb::Slice; @@ -181,7 +181,7 @@ struct ircd::db::database::comparator {} }; -struct ircd::db::database::prefix_transform +struct ircd::db::database::prefix_transform final :rocksdb::SliceTransform { using Slice = rocksdb::Slice; @@ -200,7 +200,7 @@ struct ircd::db::database::prefix_transform {} }; -struct ircd::db::database::column +struct ircd::db::database::column final :std::enable_shared_from_this ,rocksdb::ColumnFamilyDescriptor {