X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FResource.hh;h=39b76a4c62f60c69a11474359565b7b59e3bcc9f;hp=2740fc31a136add04d6bcc81f7a21ae37aa878bc;hb=c9e20ac06383b20ceb5404c9237e319c2e90d157;hpb=a31d65a998121df0651c57bfb68782e2a07d2e2f diff --git a/src/Moof/Resource.hh b/src/Moof/Resource.hh index 2740fc3..39b76a4 100644 --- a/src/Moof/Resource.hh +++ b/src/Moof/Resource.hh @@ -37,8 +37,6 @@ #include #include -#include - 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 searchPaths_;