From 4808617ef54d40efcf1a3ed30525898defb74e10 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 9 Oct 2008 20:20:34 +0000 Subject: More cache development. I'm going to have to switch from template functions to functors. I like template functions a little more, but functors can be at least as fast. It won't be much of a change. --- src/cachable.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/cachable.cpp (limited to 'src/cachable.cpp') diff --git a/src/cachable.cpp b/src/cachable.cpp new file mode 100644 index 0000000..7fa2d23 --- /dev/null +++ b/src/cachable.cpp @@ -0,0 +1,15 @@ +#include "bu/cachable.h" + +Bu::Cachable::Cachable() +{ +} + +Bu::Cachable::~Cachable() +{ +} + +template<> long Bu::getCacheId( const Bu::Cachable *o ) +{ + return o->getCacheId(); +} + -- cgit v1.2.3