From: Dana Jansens Date: Wed, 24 Apr 2002 20:34:17 +0000 (+0000) Subject: fix Resource class so that you cant cast a string to a Resource X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=9fa48a9fbe507e033a9221d44efc053f6ba49e35;hp=1a44d80843a6f32d2441f6836ce5801491605c6e;p=chaz%2Fopenbox fix Resource class so that you cant cast a string to a Resource --- diff --git a/src/Resource.h b/src/Resource.h index 7d792494..e75b8718 100644 --- a/src/Resource.h +++ b/src/Resource.h @@ -29,7 +29,7 @@ class Resource { public: - Resource(const std::string &file); + explicit Resource(const std::string &file); Resource(); virtual ~Resource();