Skip to content

Commit

Permalink
ScriptedInterface: Mark constructor explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
dscharrer committed Jan 13, 2018
1 parent 181a664 commit 551eee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script/ScriptedInterface.cpp
Expand Up @@ -188,7 +188,7 @@ struct PrintLocalVariables {

Entity * m_entity;

PrintLocalVariables(Entity * entity) : m_entity(entity) { }
explicit PrintLocalVariables(Entity * entity) : m_entity(entity) { }

};

Expand Down

0 comments on commit 551eee4

Please sign in to comment.