aboutsummaryrefslogtreecommitdiffstats
path: root/src/algo_factory
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-08-04 12:53:40 +0000
committerlloyd <[email protected]>2010-08-04 12:53:40 +0000
commitabc179a6549fedf1c14474342336f1dcb965e45f (patch)
treea9117159c9a5bcb12b504814d294a89416d5fb7d /src/algo_factory
parente19f1554004830e99872c13b8d5fa678b93d586a (diff)
~Algorithm_Cache was missing definition
Diffstat (limited to 'src/algo_factory')
-rw-r--r--src/algo_factory/algo_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algo_factory/algo_cache.h b/src/algo_factory/algo_cache.h
index 339b33660..b11d78742 100644
--- a/src/algo_factory/algo_cache.h
+++ b/src/algo_factory/algo_cache.h
@@ -68,7 +68,7 @@ class Algorithm_Cache
*/
void clear_cache();
- ~Algorithm_Cache();
+ ~Algorithm_Cache() { clear_cache(); }
private:
typename std::map<std::string, std::map<std::string, T*> >::const_iterator
find_algorithm(const std::string& algo_spec);