mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Refactor TxQueue, move some boost includes down to .cpp
This commit is contained in:
18
modules/ripple_app/tx/TxQueueEntry.cpp
Normal file
18
modules/ripple_app/tx/TxQueueEntry.cpp
Normal file
@@ -0,0 +1,18 @@
|
||||
//------------------------------------------------------------------------------
|
||||
/*
|
||||
Copyright (c) 2011-2013, OpenCoin, Inc.
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
void TxQueueEntry::addCallbacks (const TxQueueEntry& otherEntry)
|
||||
{
|
||||
BOOST_FOREACH (const stCallback & callback, otherEntry.mCallbacks)
|
||||
mCallbacks.push_back (callback);
|
||||
}
|
||||
|
||||
void TxQueueEntry::doCallbacks (TER result)
|
||||
{
|
||||
BOOST_FOREACH (const stCallback & callback, mCallbacks)
|
||||
callback (mTxn, result);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user