diff --git a/panda/src/pgraph/modelPool.h b/panda/src/pgraph/modelPool.h index f03e95ad1f..a36790079a 100644 --- a/panda/src/pgraph/modelPool.h +++ b/panda/src/pgraph/modelPool.h @@ -70,8 +70,6 @@ PUBLISHED: INLINE static void list_contents(); static void write(ostream &out); - static ModelPool *get_ptr(); - private: INLINE ModelPool(); @@ -88,6 +86,8 @@ private: int ns_garbage_collect(); void ns_list_contents(ostream &out) const; + static ModelPool *get_ptr(); + static ModelPool *_global_ptr; Mutex _lock;