mirror of
https://github.com/fmtlib/fmt.git
synced 2025-09-08 12:02:51 -04:00
Fix a warning on msvc/clang (#703)
This commit is contained in:
parent
64440783ba
commit
a9c0bb4b16
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user