Skip to content

helper::throw_system_error_if and helper::to_utf8 should be inline to avoid linking errors #48

@FadiBitar

Description

@FadiBitar

I'm using dir_monitor in a project and suddenly started getting linking errors once the project got bigger and the dir_monitor headers included in multiple places.
The main culprit was that helper::throw_system_error_if and helper::to_utf8 were getting defined multiple times.
Setting the two functions as inline seems to take care of this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions