From 9d428bf51532cf42d36d99f5d029c6594bc90cb2 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Sun, 8 Jan 2012 02:45:58 +0100 Subject: Compile fix diff --git a/src/CGALCache.cc b/src/CGALCache.cc index 7d1baf8..9f308f0 100644 --- a/src/CGALCache.cc +++ b/src/CGALCache.cc @@ -4,6 +4,10 @@ CGALCache *CGALCache::inst = NULL; +CGALCache::CGALCache(size_t limit) : cache(limit) +{ +} + void CGALCache::insert(const std::string &id, const CGAL_Nef_polyhedron &N) { this->cache.insert(id, new CGAL_Nef_polyhedron(N), N.weight()); diff --git a/src/CGALCache.h b/src/CGALCache.h index 063fef5..ee4c6c3 100644 --- a/src/CGALCache.h +++ b/src/CGALCache.h @@ -8,7 +8,7 @@ class CGALCache { public: - CGALCache(size_t limit = 100*1024*1024) : cache(limit) {} + CGALCache(size_t limit = 100*1024*1024); static CGALCache *instance() { if (!inst) inst = new CGALCache; return inst; } -- cgit v0.10.1