tracing: remove #include of modification_statement.hh from table_helper

Replace with a forward declration to reduce #include bloat and dependencies.
This commit is contained in:
Avi Kivity
2020-02-09 13:04:13 +02:00
parent f8e85e5c2a
commit b26ded8ec5
2 changed files with 6 additions and 1 deletions

View File

@@ -22,6 +22,7 @@
#include "table_helper.hh"
#include "cql3/statements/create_table_statement.hh"
#include "cql3/statements/modification_statement.hh"
#include "database.hh"
future<> table_helper::setup_table() const {

View File

@@ -24,11 +24,15 @@
#include <seastar/util/gcc6-concepts.hh>
#include <seastar/core/apply.hh>
#include "cql3/statements/modification_statement.hh"
#include "cql3/statements/prepared_statement.hh"
#include "cql3/query_processor.hh"
#include "service/migration_manager.hh"
namespace cql3::statements {
class modification_statement;
}
/**
* \class table_helper
* \brief A helper class that unites the operations on a single table under the same roof.