Move DecayingSample to algorithm

This commit is contained in:
Vinnie Falco
2013-12-05 18:34:42 -08:00
parent 9996e4a57e
commit 177b3c93c4
4 changed files with 7 additions and 9 deletions

View File

@@ -17,11 +17,10 @@
*/
//==============================================================================
#ifndef RIPPLE_RESOURCE_DECAYINGSAMPLE_H_INCLUDED
#define RIPPLE_RESOURCE_DECAYINGSAMPLE_H_INCLUDED
#ifndef RIPPLE_ALGORITHM_DECAYINGSAMPLE_H_INCLUDED
#define RIPPLE_ALGORITHM_DECAYINGSAMPLE_H_INCLUDED
namespace ripple {
namespace Resource {
/** Sampling function using exponential decay to provide a continuous value. */
template <int Window,
@@ -92,7 +91,6 @@ private:
elapsed_type m_when;
};
}
}
#endif

View File

@@ -21,6 +21,7 @@
#include "ripple_resource.h"
#include "../algorithm/api/DecayingSample.h"
#include "../algorithm/api/DiscreteClock.h"
#include "beast/modules/beast_core/system/BeforeBoost.h"
@@ -29,7 +30,6 @@
#include "impl/Fees.cpp"
# include "impl/Kind.h"
# include "impl/Key.h"
# include "impl/DecayingSample.h"
# include "impl/Tuning.h"
# include "impl/Entry.h"
# include "impl/Import.h"