mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-29 18:27:40 +02:00
Fix a bogus MSVC warning about unreachable code
This commit is contained in:
@ -1727,8 +1727,7 @@ class precision_checker: public function<unsigned long long> {
|
||||
template <typename T>
|
||||
FMT_CONSTEXPR typename std::enable_if<
|
||||
!is_integer<T>::value, unsigned long long>::type operator()(T) {
|
||||
handler_.on_error("precision is not integer");
|
||||
return 0;
|
||||
return handler_.on_error("precision is not integer"), 0;
|
||||
}
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user