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

@@ -68,7 +68,7 @@ public:
/** Constructor. Creates a data structure out of the XFile given in the memory block.
* @param pBuffer Null-terminated memory buffer containing the XFile
*/
XFileParser( const std::vector<char>& pBuffer);
explicit XFileParser( const std::vector<char>& pBuffer);
/** Destructor. Destroys all imported data along with it */
~XFileParser();