]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Resource.hh
port to NetBSD
[chaz/yoink] / src / Moof / Resource.hh
index 2740fc31a136add04d6bcc81f7a21ae37aa878bc..39b76a4c62f60c69a11474359565b7b59e3bcc9f 100644 (file)
@@ -37,8 +37,6 @@
 #include <string>
 #include <vector>
 
-#include <Moof/Exception.hh>
-
 
 namespace Mf {
 
@@ -51,7 +49,7 @@ class Resource
 {
 public:
 
-       virtual ~Resource();
+       virtual ~Resource() {}
 
 
        /**
@@ -70,18 +68,6 @@ public:
 
        static std::string getPath(const std::string& name);
 
-
-       struct Exception : public Mf::Exception
-       {
-               explicit Exception(unsigned error) :
-                       Mf::Exception(error) {}
-
-               void raise()
-               {
-                       throw *this;
-               }
-       };
-
 private:
 
        static std::vector<std::string> searchPaths_;
This page took 0.019061 seconds and 4 git commands to generate.