summaryrefslogtreecommitdiff
path: root/src/CGALCache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/CGALCache.h')
-rw-r--r--src/CGALCache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CGALCache.h b/src/CGALCache.h
index ee4c6c3..831ef27 100644
--- a/src/CGALCache.h
+++ b/src/CGALCache.h
@@ -13,8 +13,8 @@ public:
static CGALCache *instance() { if (!inst) inst = new CGALCache; return inst; }
bool contains(const std::string &id) const { return this->cache.contains(id); }
- const class CGAL_Nef_polyhedron &get(const std::string &id) const { return *this->cache[id]; }
- void insert(const std::string &id, const CGAL_Nef_polyhedron &N);
+ const class CGAL_Nef_polyhedron &get(const std::string &id) const;
+ bool insert(const std::string &id, const CGAL_Nef_polyhedron &N);
size_t maxSize() const;
void setMaxSize(size_t limit);
void clear();
contact: Jan Huwald // Impressum