Code

NR::Maybe => boost::optional
[inkscape.git] / src / rubberband.h
index b6ef1984eec6a32fb5efe9d8a1211fb02d3e51aa..7734a65fa98d2c309d620189f57269f79437ca6c 100644 (file)
@@ -17,7 +17,7 @@
 #include "forward.h"
 #include "libnr/nr-forward.h"
 #include "libnr/nr-point.h"
-#include "libnr/nr-maybe.h"
+#include <boost/optional.hpp>
 #include <vector>
 
 /* fixme: do multidocument safe */
@@ -40,7 +40,7 @@ public:
 
     void start(SPDesktop *desktop, NR::Point const &p);
     void move(NR::Point const &p);
-    NR::Maybe<NR::Rect> getRectangle() const;
+    boost::optional<NR::Rect> getRectangle() const;
     void stop();
     bool is_started();