From 900577c7e71534ec32dcb4e0677a509a6e517b12 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Tue, 5 Aug 2008 22:40:31 +0000 Subject: NR::Maybe => boost::optional (bzr r6569) --- src/removeoverlap/removeoverlap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/removeoverlap/removeoverlap.cpp') diff --git a/src/removeoverlap/removeoverlap.cpp b/src/removeoverlap/removeoverlap.cpp index 395d4fe0e..0562123de 100644 --- a/src/removeoverlap/removeoverlap.cpp +++ b/src/removeoverlap/removeoverlap.cpp @@ -48,7 +48,7 @@ void removeoverlap(GSList const *const items, double const xGap, double const yG ++it) { using NR::X; using NR::Y; - NR::Maybe item_box(sp_item_bbox_desktop(*it)); + boost::optional item_box(sp_item_bbox_desktop(*it)); if (item_box) { NR::Point min(item_box->min() - .5*gap); NR::Point max(item_box->max() + .5*gap); -- cgit v1.2.3