Remove beast::Journal default constructor

This commit is contained in:
Scott Schurr
2018-09-12 16:54:54 -07:00
committed by seelabs
parent 49e61cc0a6
commit 0bbe6e226c
44 changed files with 361 additions and 242 deletions

View File

@@ -18,7 +18,6 @@
//==============================================================================
#include <ripple/shamap/SHAMap.h>
#include <test/shamap/common.h>
#include <ripple/protocol/digest.h>
#include <ripple/basics/contract.h>
#include <ripple/basics/random.h>
@@ -26,6 +25,8 @@
#include <ripple/basics/UnorderedContainers.h>
#include <ripple/beast/xor_shift_engine.h>
#include <ripple/beast/unit_test.h>
#include <test/shamap/common.h>
#include <test/unit_test/SuiteJournal.h>
#include <functional>
#include <stdexcept>
@@ -116,8 +117,10 @@ public:
void run () override
{
beast::Journal const j; // debug journal
TestFamily f(j);
using namespace beast::severities;
test::SuiteJournal journal ("FetchPack_test", *this);
TestFamily f(journal);
std::shared_ptr <Table> t1 (std::make_shared <Table> (
SHAMapType::FREE, f, SHAMap::version{2}));