mirror of
https://github.com/fmtlib/fmt.git
synced 2025-03-30 13:20:18 +00:00
Fix a bogus MSVC warning about unreachable code
This commit is contained in:
parent
b60a5c5d49
commit
68f0ac8271
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user