Skip to content

Commit d46b4eb

Browse files
committed
Merge pull request #543 from 9rnsr/fix10567
Supplemental fix for issue 10567
2 parents 33b1c81 + 607c25a commit d46b4eb

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/object.di

+1
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,7 @@ bool _ArrayEq(T1, T2)(T1[] a1, T2[] a2)
635635
}
636636

637637
bool _xopEquals(in void* ptr, in void* ptr);
638+
bool _xopCmp(in void* ptr, in void* ptr);
638639

639640
void __ctfeWrite(T...)(auto ref T) {}
640641
void __ctfeWriteln(T...)(auto ref T values) { __ctfeWrite(values, "\n"); }

src/object_.d

+5
Original file line numberDiff line numberDiff line change
@@ -2531,6 +2531,11 @@ bool _xopEquals(in void*, in void*)
25312531
throw new Error("TypeInfo.equals is not implemented");
25322532
}
25332533

2534+
bool _xopCmp(in void*, in void*)
2535+
{
2536+
throw new Error("TypeInfo.compare is not implemented");
2537+
}
2538+
25342539
/******************************************
25352540
* Create RTInfo for type T
25362541
*/

0 commit comments

Comments
 (0)