Code

NR::Maybe => boost::optional
[inkscape.git] / src / line-snapper.cpp
index ee902d5fc08ba6e07b279f584937be637b82cfde..d06d027e314c8b3d94f931e597d0981d2bf55e7d 100644 (file)
@@ -27,7 +27,7 @@ void Inkscape::LineSnapper::freeSnap(SnappedConstraints &sc,
                                                     Inkscape::Snapper::PointType const &t,
                                                     NR::Point const &p,
                                                     bool const &/*f*/,
-                                                    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
 {
@@ -61,7 +61,7 @@ void Inkscape::LineSnapper::constrainedSnap(SnappedConstraints &sc,
                                                Inkscape::Snapper::PointType const &t,
                                                NR::Point const &p,
                                                bool const &/*f*/,
-                                               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