Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
FadiBitar opened this issue Nov 29, 2017 · 1 comment

Comments

@FadiBitar
Copy link

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.

@berkus
Copy link
Owner

berkus commented Dec 9, 2017

Thanks, I will update the code asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants