summaryrefslogtreecommitdiffstats
path: root/src/snapper.h
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-08-05 22:40:31 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-08-05 22:40:31 +0000
commit900577c7e71534ec32dcb4e0677a509a6e517b12 (patch)
tree8d5b4c6201b0728bff338e89106d1a8c5a0b7fef /src/snapper.h
parentcodedread's patch for bug 254850 (fixes handling of description field in Obje... (diff)
downloadinkscape-900577c7e71534ec32dcb4e0677a509a6e517b12.tar.gz
inkscape-900577c7e71534ec32dcb4e0677a509a6e517b12.zip
NR::Maybe => boost::optional
(bzr r6569)
Diffstat (limited to 'src/snapper.h')
-rw-r--r--src/snapper.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/snapper.h b/src/snapper.h
index f79573990..cf2732b24 100644
--- a/src/snapper.h
+++ b/src/snapper.h
@@ -16,7 +16,7 @@
#include <list>
#include "libnr/nr-coord.h"
#include "libnr/nr-point.h"
-#include "libnr/nr-maybe.h"
+#include <boost/optional.hpp>
#include "snapped-point.h"
#include "snapped-line.h"
@@ -67,7 +67,7 @@ public:
PointType const &/*t*/,
NR::Point const &/*p*/,
bool const &/*first_point*/,
- NR::Maybe<NR::Rect> const &/*bbox_to_snap*/,
+ boost::optional<NR::Rect> const &/*bbox_to_snap*/,
std::vector<SPItem const *> const */*it*/,
std::vector<NR::Point> */*unselected_nodes*/) const {};
@@ -105,7 +105,7 @@ public:
PointType const &/*t*/,
NR::Point const &/*p*/,
bool const &/*first_point*/,
- NR::Maybe<NR::Rect> const &/*bbox_to_snap*/,
+ boost::optional<NR::Rect> const &/*bbox_to_snap*/,
ConstraintLine const &/*c*/,
std::vector<SPItem const *> const */*it*/) const {};