diff --git a/src/ripple/app/main/LocalCredentials.cpp b/src/ripple/app/main/LocalCredentials.cpp index 046067f32..043795ad2 100644 --- a/src/ripple/app/main/LocalCredentials.cpp +++ b/src/ripple/app/main/LocalCredentials.cpp @@ -22,10 +22,7 @@ namespace ripple { -LocalCredentials::LocalCredentials () - : mLedger (0) -{ -} +LocalCredentials::LocalCredentials () = default; void LocalCredentials::start () { diff --git a/src/ripple/app/main/LocalCredentials.h b/src/ripple/app/main/LocalCredentials.h index 7722cb5b9..f942c5b93 100644 --- a/src/ripple/app/main/LocalCredentials.h +++ b/src/ripple/app/main/LocalCredentials.h @@ -60,8 +60,6 @@ private: RippleAddress mNodePublicKey; RippleAddress mNodePrivateKey; - - LedgerIndex mLedger; // ledger we last synched to }; } // ripple diff --git a/src/ripple/app/transactors/CreateOffer.cpp b/src/ripple/app/transactors/CreateOffer.cpp index ad586ce8a..885c44f38 100644 --- a/src/ripple/app/transactors/CreateOffer.cpp +++ b/src/ripple/app/transactors/CreateOffer.cpp @@ -31,7 +31,9 @@ class CreateOffer { private: // What kind of offer we are placing +#if RIPPLE_ENABLE_AUTOBRIDGING bool autobridging_; +#endif /** Determine if we are authorized to hold the asset we want to get */ TER @@ -132,7 +134,9 @@ public: params, engine, deprecatedLogs().journal("CreateOffer")) +#if RIPPLE_ENABLE_AUTOBRIDGING , autobridging_ (autobridging) +#endif { }