mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
Fix Wshadow warning for Clang <= 4.0
This commit is contained in:
@@ -779,7 +779,7 @@ inline bool for_each_file_in_dir(const char *dir, Function f)
|
||||
struct dir_close
|
||||
{
|
||||
DIR *d_;
|
||||
dir_close(DIR *d) : d_(d) {}
|
||||
dir_close(DIR *dirp) : d_(dirp) {}
|
||||
~dir_close() { ::closedir(d_); }
|
||||
} dc(d); (void)dc;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user