Skip to content

Commit fc235df

Browse files
committed
[MISC] Make parser_meta_data comparable
This is only needed for tests, and hidden in the docs.
1 parent 538d4c1 commit fc235df

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

include/sharg/auxiliary.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,10 @@ struct parser_meta_data // holds all meta information
146146
* "./my_read_mapper -s 3 --my_flag path/infile1").
147147
*/
148148
std::vector<std::string> examples{};
149+
150+
//!\cond
151+
constexpr friend bool operator==(parser_meta_data, parser_meta_data) = default;
152+
//!\endcond
149153
};
150154

151155
} // namespace sharg

0 commit comments

Comments
 (0)