Code

NR::Maybe => boost::optional
[inkscape.git] / src / line-snapper.h
index e5fc95dcba82c4950744dbd9832fd915bc54b021..e0adf38454f6479968fc7be2d04cc7c779fddeeb 100644 (file)
@@ -25,7 +25,7 @@ public:
                    Inkscape::Snapper::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;
   
@@ -33,7 +33,7 @@ public:
                           Inkscape::Snapper::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;