From 177b3c93c40bbeb9b5846d1f0a4f1d4b7b0e152d Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Thu, 5 Dec 2013 18:34:42 -0800 Subject: [PATCH] Move DecayingSample to algorithm --- Builds/VisualStudio2012/RippleD.vcxproj | 2 +- Builds/VisualStudio2012/RippleD.vcxproj.filters | 6 +++--- .../{resource/impl => algorithm/api}/DecayingSample.h | 6 ++---- src/ripple/resource/ripple_resource.cpp | 2 +- 4 files changed, 7 insertions(+), 9 deletions(-) rename src/ripple/{resource/impl => algorithm/api}/DecayingSample.h (95%) diff --git a/Builds/VisualStudio2012/RippleD.vcxproj b/Builds/VisualStudio2012/RippleD.vcxproj index 64ee71e238..07685c299c 100644 --- a/Builds/VisualStudio2012/RippleD.vcxproj +++ b/Builds/VisualStudio2012/RippleD.vcxproj @@ -2099,6 +2099,7 @@ + @@ -2151,7 +2152,6 @@ - diff --git a/Builds/VisualStudio2012/RippleD.vcxproj.filters b/Builds/VisualStudio2012/RippleD.vcxproj.filters index 0da0204d0c..787623a4ae 100644 --- a/Builds/VisualStudio2012/RippleD.vcxproj.filters +++ b/Builds/VisualStudio2012/RippleD.vcxproj.filters @@ -2502,9 +2502,6 @@ [1] Ripple\resource\api - - [1] Ripple\resource\impl - [1] Ripple\resource\impl @@ -2850,6 +2847,9 @@ [2] Old Ripple\ripple_app\ledger + + [1] Ripple\algorithm\api + diff --git a/src/ripple/resource/impl/DecayingSample.h b/src/ripple/algorithm/api/DecayingSample.h similarity index 95% rename from src/ripple/resource/impl/DecayingSample.h rename to src/ripple/algorithm/api/DecayingSample.h index 192b59bed9..c44764ee88 100644 --- a/src/ripple/resource/impl/DecayingSample.h +++ b/src/ripple/algorithm/api/DecayingSample.h @@ -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