diff options
Diffstat (limited to 'lib/Support/Path.cpp')
-rw-r--r-- | lib/Support/Path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Path.cpp b/lib/Support/Path.cpp index 9d98503e02..dabf763c8d 100644 --- a/lib/Support/Path.cpp +++ b/lib/Support/Path.cpp @@ -1030,7 +1030,7 @@ error_code identify_magic(const Twine &Path, file_magic &Result) { char Buffer[32]; int Length = read(FD, Buffer, sizeof(Buffer)); if (Length < 0) - return error_code(errno, generic_category()); + return error_code(errno, std::generic_category()); Result = identify_magic(StringRef(Buffer, Length)); return error_code(); |