]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Mippleton.hh
improved new vorbisfile compatibility
[chaz/yoink] / src / Moof / Mippleton.hh
index cde68d2b4b99eeb7024c5f1f77eae469bfec198b..7ad17823a45862cfe7eae2b7f0d03148c34db692 100644 (file)
@@ -57,7 +57,7 @@ class Mippleton
        static PtrMap   ptrs_;
        std::string             name_;
 
-       inline static T* retain(const std::string& name)
+       static T* retain(const std::string& name)
        {
                typename PtrMap::iterator it = ptrs_.find(name);
 
@@ -74,12 +74,12 @@ class Mippleton
                }
        }
 
-       inline static void release(T* obj)
+       static void release(T* obj)
        {
                releaseByName(obj->name_);
        }
 
-       inline static void releaseByName(const std::string& name)
+       static void releaseByName(const std::string& name)
        {
                typename PtrMap::iterator it;
 
@@ -91,15 +91,16 @@ class Mippleton
        }
 
 public:
+
        explicit Mippleton(const std::string& name) :
                name_(name) {}
 
-       inline const std::string& getName() const
+       const std::string& getName() const
        {
                return name_;
        }
 
-       inline static boost::shared_ptr<T> getInstance(const std::string& name)
+       static boost::shared_ptr<T> getInstance(const std::string& name)
        {
                return boost::shared_ptr<T>(retain(name), &release);
        }
This page took 0.023916 seconds and 4 git commands to generate.