diff --git a/simgear/scene/model/model.hxx b/simgear/scene/model/model.hxx index 9f930f3e..bef5a322 100644 --- a/simgear/scene/model/model.hxx +++ b/simgear/scene/model/model.hxx @@ -15,9 +15,6 @@ #include #include -using std::vector; -using std::set; - #include #include #include diff --git a/simgear/structure/SGSharedPtr.hxx b/simgear/structure/SGSharedPtr.hxx index b99a6a8f..cbaee0f6 100644 --- a/simgear/structure/SGSharedPtr.hxx +++ b/simgear/structure/SGSharedPtr.hxx @@ -111,4 +111,12 @@ private: friend class SGWeakPtr; }; +/** + * Support for boost::mem_fn + */ +template +T* get_pointer(SGSharedPtr const & p) +{ + return p.ptr(); +} #endif