Skip to content

Fix CPPCheck issues - non-explicit constructors #6

@eljonny

Description

@eljonny

Per the standard, these should be marked as explicit.

/github/workspace/include/TestCPP.h:62:9: style: Class 'TestCPPException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
/github/workspace/include/TestCPP.h:63:9: style: Class 'TestCPPException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
/github/workspace/include/TestCPP.h:68:9: style: Class 'TestFailedException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
/github/workspace/include/TestCPP.h:69:9: style: Class 'TestFailedException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
/github/workspace/include/TestCPP.h:75:9: style: Class 'TestCaseName' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions