Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

itt_notify.hpp: "ScopeTrack(track)" constructor not marked explicit #10

@sqz

Description

@sqz

Standard C++ issue: single argument constructors are almost always meant to be marked "explicit" in order to avoid unintended implicit conversions (https://www.securecoding.cert.org/confluence/pages/viewpage.action?pageId=3416). Any static analyser should pick this up too.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions