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-Tag: openbox-1_0_1^2~37 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=9fa48a9fbe507e033a9221d44efc053f6ba49e35;p=dana%2Fopenbox.git 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();