Mark appropriate constructors explicit

This commit is contained in:
Alex Beregszaszi
2017-08-22 10:51:46 +01:00
parent 3cf2426e1a
commit 2a5772cff7
15 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ class Type; // forward
class CompilerUtils
{
public:
CompilerUtils(CompilerContext& _context): m_context(_context) {}
explicit CompilerUtils(CompilerContext& _context): m_context(_context) {}
/// Stores the initial value of the free-memory-pointer at its position;
void initialiseFreeMemoryPointer();