Inject Application:

Calls to getApp are replaced with dependency injections.
This commit is contained in:
Vinnie Falco
2015-09-14 14:25:23 -07:00
committed by Edward Hennis
parent f4fe55caff
commit 9b787434c9
132 changed files with 1203 additions and 1063 deletions

View File

@@ -27,11 +27,12 @@
namespace ripple {
ApplyContext::ApplyContext(
ApplyContext::ApplyContext(Application& app_,
OpenView& base, STTx const& tx_,
ApplyFlags flags, Config const& config_,
beast::Journal journal_)
: tx (tx_)
: app(app_)
, tx (tx_)
, config (config_)
, journal(journal_)
, base_ (base)