projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6f077b0
)
Make EqualityOptions into a class.
author
Carl Hetherington
<cth@carlh.net>
Tue, 25 Jul 2023 12:40:19 +0000
(14:40 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 25 Jul 2023 12:40:19 +0000
(14:40 +0200)
src/types.h
patch
|
blob
|
history
diff --git
a/src/types.h
b/src/types.h
index fcfe7519aa1bef70c0e755aef46e68cc4843216e..4a406954df2bb53cde5b401c96863bfce442fee5 100644
(file)
--- 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);
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.
*/
*
* 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 () {}
/** Construct an EqualityOptions where nothing at all can differ */
EqualityOptions () {}