diff --git a/src/cpp/ripple/Pathfinder.cpp b/src/cpp/ripple/Pathfinder.cpp index 7101f9458a..0a33234c46 100644 --- a/src/cpp/ripple/Pathfinder.cpp +++ b/src/cpp/ripple/Pathfinder.cpp @@ -794,7 +794,11 @@ bool Pathfinder::matchesOrigin(const uint160& currency, const uint160& issuer) int Pathfinder::getPathsOut(const uint160& currencyID, const uint160& accountID, bool authRequired, bool isDstCurrency, const uint160& dstAccount) { +#ifdef C11X std::pair accountCurrency(currencyID, accountID); +#else + std::pair accountCurrency(currencyID, accountID); +#endif boost::unordered_map, int>::iterator it = mPOMap.find(accountCurrency); if (it != mPOMap.end()) return it->second;