Skip to content

Commit 9981ab5

Browse files
committed
fixup
1 parent e58919e commit 9981ab5

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

source/mir/annotated.d

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ struct Annotated(T) {
5858
}
5959
return *_value_;
6060
}
61+
62+
///
63+
bool opEquals(const Annotated rhs) const
64+
{
65+
return annotations == rhs.annotations && _value == rhs._value;
66+
}
6167
}
6268
else
6369
{
@@ -68,12 +74,6 @@ struct Annotated(T) {
6874
///
6975
alias _value this;
7076

71-
///
72-
bool opEquals(const Annotated rhs) const
73-
{
74-
return annotations == rhs.annotations && _value == rhs._value;
75-
}
76-
7777
/++
7878
Params:
7979
annotations = non-empty array of annotations

0 commit comments

Comments
 (0)