Skip to content

Namespace leakage in Font. #14

@NicolBolas

Description

@NicolBolas

The Font.hpp file has many using directives in it. But these are at global scope, so anyone who does #include<Font.hpp> will automatically get all of thoseusing`s.

This is generally considered rather rude, since using directives cannot be undone. You should either explicitly qualify these things or put the using directives in the scope of the class/function where they are used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions