From d08cb5c79c341c4dfce949f7c6dec46ba058b205 Mon Sep 17 00:00:00 2001 From: neingeist Date: Sun, 24 Aug 2014 14:44:15 +0200 Subject: [PATCH] rtti: make Nail constructor explicit --- rtti.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtti.cpp b/rtti.cpp index acb0621..713ff66 100644 --- a/rtti.cpp +++ b/rtti.cpp @@ -5,7 +5,7 @@ class Nail { public: - Nail(float length) + explicit Nail(float length) : length(length) {} float getLength() {