summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-09-28 18:21:15 +0200
committerCarl Hetherington <cth@carlh.net>2025-09-28 18:21:15 +0200
commit8ea0c463b344b8adb776c3e0c48224ea1d7ea7a7 (patch)
tree0bb27559fac0eff62a70c7ad5116447814d5a26d /src/lib
parent78a17618ca57d4226e843636ec6cd99c373af671 (diff)
Fix Windows build.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/layout_markers.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/layout_markers.cc b/src/lib/layout_markers.cc
index 7b16b07f1..4e52df9ca 100644
--- a/src/lib/layout_markers.cc
+++ b/src/lib/layout_markers.cc
@@ -148,7 +148,7 @@ AllocationRow::allocate(int x1, int x2)
return max(a.first, b.first) <= min(a.second, b.second);
};
- if (std::none_of(_allocated.begin(), _allocated.end(), std::bind(overlaps, pair{x1, x2}, _1))) {
+ if (std::none_of(_allocated.begin(), _allocated.end(), std::bind(overlaps, pair<int, int>{x1, x2}, _1))) {
_allocated.push_back({x1, x2});
return true;
}