diff Framework/Scene2DViewport/ViewportController.h @ 842:2b245953b44b

removed some c++11 for older compilers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 12 Jun 2019 09:52:25 +0200
parents e42b491f1fb2
children e3c56d4f863f
line wrap: on
line diff
--- a/Framework/Scene2DViewport/ViewportController.h	Tue Jun 11 15:41:21 2019 +0200
+++ b/Framework/Scene2DViewport/ViewportController.h	Wed Jun 12 09:52:25 2019 +0200
@@ -87,7 +87,7 @@
     (in scene coords). A tracker can then be requested from the chosen 
     measure tool, if needed
     */
-    std::vector<boost::shared_ptr<MeasureTool>> HitTestMeasureTools(ScenePoint2D p);
+    std::vector<boost::shared_ptr<MeasureTool> > HitTestMeasureTools(ScenePoint2D p);
 
     /**
     With this method, the object takes ownership of the supplied tracker and
@@ -172,7 +172,7 @@
   private:
     double GetCanvasToSceneFactor() const;
 
-    std::vector<boost::shared_ptr<TrackerCommand>> commandStack_;
+    std::vector<boost::shared_ptr<TrackerCommand> > commandStack_;
     
     /**
     This is always between >= 0 and <= undoStack_.size() and gives the 
@@ -181,8 +181,8 @@
     - If numAppliedCommands_ < numAppliedCommands_.size(), one can redo
     */
     size_t                      numAppliedCommands_;
-    std::vector<boost::shared_ptr<MeasureTool>> measureTools_;
-    boost::shared_ptr<Scene2D>                  scene_;
+    std::vector<boost::shared_ptr<MeasureTool> > measureTools_;
+    boost::shared_ptr<Scene2D>                   scene_;
     boost::shared_ptr<IFlexiblePointerTracker>   tracker_;
     
     // this is cached