Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit d1299e3

Browse files
committed
opEquals was made auto so it appeared in the now defunct generated .di
file.
1 parent a1d2a28 commit d1299e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/object.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class Object
137137
}
138138
}
139139

140-
auto opEquals(Object lhs, Object rhs)
140+
bool opEquals(Object lhs, Object rhs)
141141
{
142142
// If aliased to the same object or both null => equal
143143
if (lhs is rhs) return true;
@@ -162,7 +162,7 @@ auto opEquals(Object lhs, Object rhs)
162162
/************************
163163
* Returns true if lhs and rhs are equal.
164164
*/
165-
auto opEquals(const Object lhs, const Object rhs)
165+
bool opEquals(const Object lhs, const Object rhs)
166166
{
167167
// A hack for the moment.
168168
return opEquals(cast()lhs, cast()rhs);

0 commit comments

Comments
 (0)