dir_monitor icon indicating copy to clipboard operation
dir_monitor copied to clipboard

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

Open FadiBitar opened this issue 8 years ago • 1 comments

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.

FadiBitar avatar Nov 29 '17 10:11 FadiBitar

Thanks, I will update the code asap.

berkus avatar Dec 09 '17 07:12 berkus