Make EqualityOptions into a class.
authorCarl Hetherington <cth@carlh.net>
Tue, 25 Jul 2023 12:40:19 +0000 (14:40 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 25 Jul 2023 12:40:19 +0000 (14:40 +0200)
src/types.h

index fcfe7519aa1bef70c0e755aef46e68cc4843216e..4a406954df2bb53cde5b401c96863bfce442fee5 100644 (file)
@@ -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 () {}