diff options
Diffstat (limited to 'include/ingen/Library.hpp')
-rw-r--r-- | include/ingen/Library.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ingen/Library.hpp b/include/ingen/Library.hpp index 4cee985f..ac494e4c 100644 --- a/include/ingen/Library.hpp +++ b/include/ingen/Library.hpp @@ -26,7 +26,7 @@ namespace ingen { class INGEN_API Library { public: - Library(const FilePath& path); + explicit Library(const FilePath& path); ~Library(); Library(const Library&) = delete; @@ -40,7 +40,7 @@ public: static const char* get_last_error(); - operator bool() const { return _lib; } + explicit operator bool() const { return _lib; } private: void* _lib; |