You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the code above does not make much sense, it also occurs, if a file is removed by a separate process, while a directory iteration is ongoing. The generated exception is the following:
terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
what(): boost::filesystem::directory_entry::refresh: No such file or directory [system:2]: "/tmp/mytest"