Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (18 sloc) 0.652 kb
#include "settings.h"
#include "internal/cache_usage_counter_impl.h"
#ifdef HAVE_DMALLOC_H
#include <dmalloc.h>
#endif
namespace xscript
{
class CacheUsageCounterFactoryImpl : public CacheUsageCounterFactory {
public:
virtual std::auto_ptr<CacheUsageCounter> createCounter(const std::string& name, bool want_real);
};
std::auto_ptr<CacheUsageCounter>
CacheUsageCounterFactoryImpl::createCounter(const std::string &name, bool want_real) {
(void)want_real;
return std::auto_ptr<CacheUsageCounter>(new CacheUsageCounterImpl(name));
}
static ComponentImplRegisterer<CacheUsageCounterFactory> reg_(new CacheUsageCounterFactoryImpl());
}
Jump to Line
Something went wrong with that request. Please try again.