Skip to content
Commit f3eb7c74 authored by Julian Helfferich's avatar Julian Helfferich
Browse files

Declare constructor KBlocksPiece(PieceInterface *p) explicit

Constructors with one argument should be declared explicit. Here, the
constructor behaves similar to a copy constructor, but it is none.
The implicit conversion was used one. I made it explicit.
parent cbb2c083
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment