diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-07-25 14:40:19 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-07-25 14:40:19 +0200 |
| commit | e04c5e62a638556ce47709212ab36d4a55196e77 (patch) | |
| tree | 0038f4ef5fc894e7d3dcd926ffdfe546cb24baa5 /src | |
| parent | 6f077b0d584ac94cb8b0c478d4ecd9c435073c85 (diff) | |
Make EqualityOptions into a class.
Diffstat (limited to 'src')
| -rw-r--r-- | src/types.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/types.h b/src/types.h index fcfe7519..4a406954 100644 --- a/src/types.h +++ b/src/types.h @@ -229,16 +229,17 @@ extern bool operator== (Fraction const & a, Fraction const & b); extern bool operator!= (Fraction const & a, Fraction const & b); -/** @struct EqualityOptions - * @brief A class to describe what "equality" means for a particular test. +/** @class EqualityOptions + * @brief A class to describe what "equality" means for a particular test. * * When comparing things, we want to be able to ignore some differences; * this class expresses those differences. * * It also contains some settings for how the comparison should be done. */ -struct EqualityOptions +class EqualityOptions { +public: /** Construct an EqualityOptions where nothing at all can differ */ EqualityOptions () {} |
