Mark single-parameter constructors explicit
Suggested by cppcheck
This commit is contained in:
@@ -125,7 +125,7 @@ private:
|
||||
// temporary structure to describe a mapping
|
||||
struct MappingInfo
|
||||
{
|
||||
MappingInfo(aiTextureMapping _type)
|
||||
explicit MappingInfo(aiTextureMapping _type)
|
||||
: type (_type)
|
||||
, axis (0.f,1.f,0.f)
|
||||
, uv (0u)
|
||||
|
||||
Reference in New Issue
Block a user