From 9fa48a9fbe507e033a9221d44efc053f6ba49e35 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 24 Apr 2002 20:34:17 +0000 Subject: [PATCH 1/1] fix Resource class so that you cant cast a string to a Resource --- src/Resource.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.45.2