Mark single-parameter constructors explicit

Suggested by cppcheck
This commit is contained in:
Turo Lamminen
2015-10-29 14:04:23 +02:00
parent 06b27e69c7
commit 46121a1559
32 changed files with 43 additions and 43 deletions

View File

@@ -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)