diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/layout_markers.cc | 2 |
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; } |
