forked from fmtlib/fmt
Fix a warning on msvc/clang (#703)
This commit is contained in:
@ -161,7 +161,7 @@ int safe_strerror(
|
||||
ERANGE : result;
|
||||
}
|
||||
|
||||
#ifdef __c2__
|
||||
#ifdef __clang__
|
||||
# pragma clang diagnostic push
|
||||
# pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
#endif
|
||||
@ -173,7 +173,7 @@ int safe_strerror(
|
||||
return errno;
|
||||
}
|
||||
|
||||
#ifdef __c2__
|
||||
#ifdef __clang__
|
||||
# pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user