fix Resource class so that you cant cast a string to a Resource
This commit is contained in:
parent
1a44d80843
commit
9fa48a9fbe
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@
|
|||
|
||||
class Resource {
|
||||
public:
|
||||
Resource(const std::string &file);
|
||||
explicit Resource(const std::string &file);
|
||||
Resource();
|
||||
virtual ~Resource();
|
||||
|
||||
|
|
Loading…
Reference in a new issue