Merge pull request #1882 from imsherlock/v1.x

add default cases
This commit is contained in:
Gabi Melman 2021-03-20 21:02:57 +02:00 committed by GitHub
commit c1af0a3f21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,6 +106,8 @@ SPDLOG_INLINE void ansicolor_sink<ConsoleMutex>::set_color_mode(color_mode mode)
case color_mode::never: case color_mode::never:
should_do_colors_ = false; should_do_colors_ = false;
return; return;
default:
should_do_colors_ = false;
} }
} }