diff options
Diffstat (limited to 'src/CGALCache.cc')
-rw-r--r-- | src/CGALCache.cc | 4 |
1 files changed, 4 insertions, 0 deletions
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()); |