Code

NR::Maybe => boost::optional
[inkscape.git] / src / shape-editor.h
index 2a6da68c3b6f9f72622a6c6649fd9e4e1db54f51..fe95aca8fd85ad7686c4ba9c6cf807429780205b 100644 (file)
@@ -19,7 +19,7 @@ namespace Inkscape { namespace NodePath { class Path; } }
 
 #include "libnr/nr-path-code.h"
 #include "libnr/nr-point.h"
-#include "libnr/nr-maybe.h"
+#include <boost/optional.hpp>
 #include <vector>
 
 class KnotHolder;
@@ -114,7 +114,7 @@ public:
     void show_handles (bool show);
     void show_helperpath (bool show);
 
-    void flip (NR::Dim2 axis, NR::Maybe<NR::Point> center = NR::Nothing());
+    void flip (NR::Dim2 axis, boost::optional<NR::Point> center = boost::optional<NR::Point>());
 
     void distribute (NR::Dim2 axis);
     void align (NR::Dim2 axis);