summaryrefslogtreecommitdiff
path: root/source/tanya/net/ip.d
diff options
context:
space:
mode:
Diffstat (limited to 'source/tanya/net/ip.d')
-rw-r--r--source/tanya/net/ip.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/tanya/net/ip.d b/source/tanya/net/ip.d
index 294ac95..59d19d9 100644
--- a/source/tanya/net/ip.d
+++ b/source/tanya/net/ip.d
@@ -14,7 +14,7 @@
*/
module tanya.net.ip;
-import tanya.algorithm.comparison;
+import std.algorithm.comparison;
import tanya.algorithm.iteration;
import tanya.algorithm.mutation;
import tanya.container.string;
@@ -465,7 +465,7 @@ struct Address6
*/
int opCmp(ref const Address6 that) const @nogc nothrow pure @safe
{
- const diff = compare(this.address[], that.address[]);
+ const diff = cmp(this.address[], that.address[]);
if (diff == 0)
{
return (that.scopeID < this.scopeID) - (this.scopeID < that.scopeID);