Skip to content

Commit

Permalink
Add explicit to match style, appease clang-tidy (#4296)
Browse files Browse the repository at this point in the history
Introduced by #4290

Co-authored-by: Josh L <[email protected]>
  • Loading branch information
josh11b and josh11b authored Sep 11, 2024
1 parent 63ebc3d commit 8fa173b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolchain/check/keyword_modifier_set.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class KeywordModifierSet {
auto ToEnum() -> auto {
class Converter {
public:
Converter(const KeywordModifierSet& set) : set_(set) {}
explicit Converter(const KeywordModifierSet& set) : set_(set) {}

auto Case(RawEnumType raw_enumerator, T result) -> Converter& {
if (set_.HasAnyOf(raw_enumerator)) {
Expand Down

0 comments on commit 8fa173b

Please sign in to comment.