mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 10:47:35 +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>
|
template <typename T>
|
||||||
FMT_CONSTEXPR typename std::enable_if<
|
FMT_CONSTEXPR typename std::enable_if<
|
||||||
!is_integer<T>::value, unsigned long long>::type operator()(T) {
|
!is_integer<T>::value, unsigned long long>::type operator()(T) {
|
||||||
handler_.on_error("precision is not integer");
|
return handler_.on_error("precision is not integer"), 0;
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Reference in New Issue
Block a user