diff options
Diffstat (limited to 'ecp5/archdefs.h')
-rw-r--r-- | ecp5/archdefs.h | 2 |
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 { |