]> Dogcows Code - chaz/openbox/commitdiff
fix Resource class so that you cant cast a string to a Resource
authorDana Jansens <danakj@orodu.net>
Wed, 24 Apr 2002 20:34:17 +0000 (20:34 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 24 Apr 2002 20:34:17 +0000 (20:34 +0000)
src/Resource.h

index 7d7924943bfb4f9fe15928ef752d5bede98a7df8..e75b87185dbec898bd88519401380373c6f47f72 100644 (file)
@@ -29,7 +29,7 @@
 
 class Resource {
 public:
 
 class Resource {
 public:
-  Resource(const std::string &file);
+  explicit Resource(const std::string &file);
   Resource();
   virtual ~Resource();
 
   Resource();
   virtual ~Resource();
 
This page took 0.023646 seconds and 4 git commands to generate.