Verified Commit 368deb78 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

core: return const ref

parent 84ec585c
Pipeline #14069 passed with stage
in 39 minutes and 2 seconds
......@@ -93,7 +93,7 @@ namespace fcl {
};
typedef std::map <Key, BVHModelPtr_t> Cache_t;
const Cache_t cache () const { return cache_; }
const Cache_t & cache () const { return cache_; }
private:
Cache_t cache_;
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment