Fix single parameter constructors found by cppcheck
This commit is contained in:
@@ -15,7 +15,7 @@ namespace chaiscript
|
||||
{
|
||||
struct DLModule
|
||||
{
|
||||
DLModule(const std::string &t_filename)
|
||||
explicit DLModule(const std::string &t_filename)
|
||||
: m_data(dlopen(t_filename.c_str(), RTLD_NOW))
|
||||
{
|
||||
if (m_data == nullptr)
|
||||
|
Reference in New Issue
Block a user