diff options
Diffstat (limited to 'common/kernel/base_arch.h')
-rw-r--r-- | common/kernel/base_arch.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/kernel/base_arch.h b/common/kernel/base_arch.h index 55fcf280..53e28652 100644 --- a/common/kernel/base_arch.h +++ b/common/kernel/base_arch.h @@ -377,10 +377,10 @@ template <typename R> struct BaseArch : ArchAPI<R> // Cluster methods virtual CellInfo *getClusterRootCell(ClusterId cluster) const override { return get_cluster_root(this, cluster); } - virtual ArcBounds getClusterBounds(ClusterId cluster) const override + virtual BoundingBox getClusterBounds(ClusterId cluster) const override { - return if_using_basecluster<ArcBounds>(get_cluster_root(this, cluster), [](const BaseClusterInfo *cluster) { - ArcBounds bounds(0, 0, 0, 0); + return if_using_basecluster<BoundingBox>(get_cluster_root(this, cluster), [](const BaseClusterInfo *cluster) { + BoundingBox bounds(0, 0, 0, 0); for (auto child : cluster->constr_children) { if_using_basecluster<void>(child, [&](const BaseClusterInfo *child) { bounds.x0 = std::min(bounds.x0, child->constr_x); |