diff --git a/src/ripple/module/app/paths/RippleCalc.cpp b/src/ripple/module/app/paths/RippleCalc.cpp index 249a9b30b..a0e4ad81c 100644 --- a/src/ripple/module/app/paths/RippleCalc.cpp +++ b/src/ripple/module/app/paths/RippleCalc.cpp @@ -360,7 +360,7 @@ TER RippleCalc::rippleCalculate () } // Delete found unfunded offers. - for (auto const& offerIndex: unfundedOffers) + for (auto const& offerIndex: unfundedOffers_) { if (resultCode == tesSUCCESS) { diff --git a/src/ripple/module/app/paths/RippleCalc.h b/src/ripple/module/app/paths/RippleCalc.h index 1fe225f2b..dedd29b84 100644 --- a/src/ripple/module/app/paths/RippleCalc.h +++ b/src/ripple/module/app/paths/RippleCalc.h @@ -85,7 +85,7 @@ struct RippleCalc // unfunded offers. // // Offers that were found unfunded. - hash_set unfundedOffers; + hash_set unfundedOffers_; // The computed input amount. STAmount actualAmountIn_; diff --git a/src/ripple/module/app/paths/cursor/AdvanceNode.cpp b/src/ripple/module/app/paths/cursor/AdvanceNode.cpp index 49d69d0e5..0792b56c9 100644 --- a/src/ripple/module/app/paths/cursor/AdvanceNode.cpp +++ b/src/ripple/module/app/paths/cursor/AdvanceNode.cpp @@ -212,7 +212,7 @@ TER PathCursor::advanceNode (bool const bReverse) const // Offer is expired. WriteLog (lsTRACE, RippleCalc) << "advanceNode: expired offer"; - rippleCalc_.unfundedOffers.insert(node().offerIndex_); + rippleCalc_.unfundedOffers_.insert(node().offerIndex_); continue; } @@ -232,10 +232,10 @@ TER PathCursor::advanceNode (bool const bReverse) const << " node.saTakerGets=%s" << node().saTakerGets; // Mark offer for always deletion. - rippleCalc_.unfundedOffers.insert (node().offerIndex_); + rippleCalc_.unfundedOffers_.insert (node().offerIndex_); } - else if (rippleCalc_.unfundedOffers.find (node().offerIndex_) - != rippleCalc_.unfundedOffers.end ()) + else if (rippleCalc_.unfundedOffers_.find (node().offerIndex_) + != rippleCalc_.unfundedOffers_.end ()) { // Past internal error, offer was found failed to place // this in unfundedOffers. @@ -339,7 +339,7 @@ TER PathCursor::advanceNode (bool const bReverse) const // That is, even if this offer fails due to fill or kill // still do deletions. // Mark offer for always deletion. - rippleCalc_.unfundedOffers.insert (node().offerIndex_); + rippleCalc_.unfundedOffers_.insert (node().offerIndex_); } else {