Skip to content
Snippets Groups Projects
Commit d55ea905 authored by Nicolas Mansard's avatar Nicolas Mansard
Browse files

For compatibility, added a static function to bind the singleton.

parent b7324a31
No related branches found
No related tags found
No related merge requests found
......@@ -134,6 +134,9 @@ namespace dynamicgraph
PoolStorage () {}
static PoolStorage* instance_;
};
inline PoolStorage& g_pool() { return *PoolStorage::getInstance(); }
} // end of namespace dynamicgraph.
#endif //! DYNAMIC_GRAPH_POOL_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment