summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
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;
}