X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fmoof%2Fmanager.hh;fp=src%2Fmoof%2Fmanager.hh;h=a3963e8a1341f8929f6407722bee32938063791b;hp=98b102dddfafbcfa598fb7937071308812d61c15;hb=574af38ed616d1adfa5e6ce35f67cda1f707f89d;hpb=6c9943707d4f33035830eba0587a61a34eaecbc2 diff --git a/src/moof/manager.hh b/src/moof/manager.hh index 98b102d..a3963e8 100644 --- a/src/moof/manager.hh +++ b/src/moof/manager.hh @@ -1,13 +1,11 @@ -/*] Copyright (c) 2009-2010, Charles McGarvey [************************** +/*] Copyright (c) 2009-2011, Charles McGarvey [***************************** **] All rights reserved. * -* vi:ts=4 sw=4 tw=75 -* * Distributable under the terms and conditions of the 2-clause BSD license; * see the file COPYING for a complete text of the license. * -**************************************************************************/ +*****************************************************************************/ #ifndef _MOOF_MANAGER_HH_ #define _MOOF_MANAGER_HH_ @@ -47,7 +45,6 @@ public: return boost::shared_ptr(retain(name), &release); } - private: typedef stlplus::hash ptr_lookup; @@ -68,7 +65,8 @@ private: { new_object->name_ = name; new_object->init(name); - ptr_lookup_.insert(std::make_pair(name, new_object)); + ptr_lookup_.insert(std::make_pair(name, + new_object)); } return new_object; } @@ -85,8 +83,8 @@ private: static ptr_lookup ptr_lookup_; - std::string name_; - unsigned retain_count_; + std::string name_; + unsigned retain_count_; }; template