Skip to content

Commit e7f2a7e

Browse files
committed
refactor: add missing explicit this
1 parent 1c4a424 commit e7f2a7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/opzioni/cmd.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ struct Cmd<StringList<Names...>, TypeList<Types...>, TypeList<Tags...>, TypeList
225225
);
226226
}
227227

228-
[[nodiscard]] constexpr bool has_subcmds() const noexcept { return std::tuple_size_v<decltype(subcmds)> > 0; }
228+
[[nodiscard]] constexpr bool has_subcmds() const noexcept { return std::tuple_size_v<decltype(this->subcmds)> > 0; }
229229
};
230230

231231
consteval auto new_cmd(std::string_view const name, std::string_view const version = "") {

0 commit comments

Comments
 (0)