fix Resource class so that you cant cast a string to a Resource
Dana Jansens danakj@orodu.net
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/Resource.h
→
src/Resource.h
@@ -29,7 +29,7 @@ #include <X11/Xresource.h>
class Resource { public: - Resource(const std::string &file); + explicit Resource(const std::string &file); Resource(); virtual ~Resource();