From c8ae3d1751f3e1eb6d8307903880f75459b8223b Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Sat, 27 Dec 2014 10:19:26 -0800 Subject: [PATCH] Levelize SHAMap: The SHAMap class is refactored into a separate module where each translation unit compiles separate without errors. Dependencies on higher level business logic are removed. SHAMap now depends only on basics, crypto, nodestore, and protocol: * Inject NodeStore::Database& to SHAMap * Move sync filter instances to app/ledger/ * Move shamap to its own module * Move FullBelowCache to shamap/ * Move private code to shamap/impl/ * Refactor SHAMap treatment of missing node handler * Inject and use Journal for logging in SHAMap --- beast/module/core/maths/Random.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/beast/module/core/maths/Random.h b/beast/module/core/maths/Random.h index 6f03194134..b094359dad 100644 --- a/beast/module/core/maths/Random.h +++ b/beast/module/core/maths/Random.h @@ -24,8 +24,10 @@ #ifndef BEAST_RANDOM_H_INCLUDED #define BEAST_RANDOM_H_INCLUDED -namespace beast -{ +#include +#include + +namespace beast { //============================================================================== /**