Skip to content

Commit

Permalink
tokenlist.h: fixed google-explicit-constructor clang-tidy and `noEx…
Browse files Browse the repository at this point in the history
…plicitConstructor` selfcheck warning
  • Loading branch information
firewave committed Feb 8, 2024
1 parent 341aa8c commit 79fc58a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tokenlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ namespace simplecpp {
* @brief This struct stores pointers to the front and back tokens of the list this token is in.
*/
struct TokensFrontBack {
TokensFrontBack(const TokenList& list) : list(list) {}
explicit TokensFrontBack(const TokenList& list) : list(list) {}
Token *front{};
Token* back{};
const TokenList& list;
Expand Down

0 comments on commit 79fc58a

Please sign in to comment.