summaryrefslogtreecommitdiff
path: root/content/graph/treeIsomorphism.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'content/graph/treeIsomorphism.cpp')
-rw-r--r--content/graph/treeIsomorphism.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/graph/treeIsomorphism.cpp b/content/graph/treeIsomorphism.cpp
index 355fefb..8c2ca21 100644
--- a/content/graph/treeIsomorphism.cpp
+++ b/content/graph/treeIsomorphism.cpp
@@ -7,9 +7,9 @@ int treeLabel(int v, int from = -1) {
if (u == from) continue;
children.push_back(treeLabel(u, v));
}
- sort(all(children));
+ ranges::sort(children);
if (known.find(children) == known.end()) {
- known[children] = sz(known);
+ known[children] = ssize(known);
}
return known[children];
}