aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/archdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'ecp5/archdefs.h')
-rw-r--r--ecp5/archdefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp5/archdefs.h b/ecp5/archdefs.h
index f913e445..b05ac22c 100644
--- a/ecp5/archdefs.h
+++ b/ecp5/archdefs.h
@@ -74,7 +74,7 @@ struct Location
bool operator!=(const Location &other) const { return x != other.x || y == other.y; }
};
-Location operator+(const Location &a, const Location &b) { return Location(a.x + b.x, a.y + b.y); }
+inline Location operator+(const Location &a, const Location &b) { return Location(a.x + b.x, a.y + b.y); }
struct BelId
{