Mark single-parameter constructors explicit
Suggested by cppcheck
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user