aboutsummaryrefslogtreecommitdiffstats
path: root/common/arch_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/arch_api.h')
-rw-r--r--common/arch_api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/arch_api.h b/common/arch_api.h
index f8e6d0ae..01c29a84 100644
--- a/common/arch_api.h
+++ b/common/arch_api.h
@@ -142,8 +142,8 @@ template <typename R> struct ArchAPI : BaseCtx
// Cluster methods
virtual CellInfo *getClusterRootCell(ClusterId cluster) const = 0;
virtual ArcBounds getClusterBounds(ClusterId cluster) const = 0;
- virtual Loc getClusterOffset(CellInfo *cell) const = 0;
- virtual bool isClusterStrict(CellInfo *cell) const = 0;
+ virtual Loc getClusterOffset(const CellInfo *cell) const = 0;
+ virtual bool isClusterStrict(const CellInfo *cell) const = 0;
virtual bool getClusterPlacement(ClusterId cluster, BelId root_bel,
std::vector<std::pair<CellInfo *, BelId>> &placement) const = 0;
// Flow methods