rtti: make Nail constructor explicit

master
neingeist 10 years ago
parent 5de6b902c9
commit d08cb5c79c

@ -5,7 +5,7 @@
class Nail { class Nail {
public: public:
Nail(float length) explicit Nail(float length)
: length(length) {} : length(length) {}
float getLength() { float getLength() {

Loading…
Cancel
Save