rename CassandraFlatMapBackend to CassandraBackend and rename file

This commit is contained in:
CJ Cobb
2021-03-02 10:23:58 -05:00
parent 805bc14994
commit 8691cff8df
4 changed files with 52 additions and 56 deletions

View File

@@ -1,7 +1,7 @@
#ifndef RIPPLE_APP_REPORTING_BACKENDFACTORY_H_INCLUDED
#define RIPPLE_APP_REPORTING_BACKENDFACTORY_H_INCLUDED
#include <reporting/BackendInterface.h>
#include <reporting/ReportingBackend.h>
#include <reporting/CassandraBackend.h>
namespace Backend {
std::unique_ptr<BackendInterface>
makeBackend(boost::json::object const& config)
@@ -10,7 +10,7 @@ makeBackend(boost::json::object const& config)
if (dbConfig.contains("cassandra"))
{
auto backend = std::make_unique<CassandraFlatMapBackend>(
auto backend = std::make_unique<CassandraBackend>(
dbConfig.at("cassandra").as_object());
return std::move(backend);
}