[Liblas-commits] hg-main-tree: >> is an operator and not so good for template dis...

liblas-commits at liblas.org liblas-commits at liblas.org
Mon Jul 18 15:54:06 EDT 2011


details:   http://hg.libpc.orghg-main-tree/rev/64c93568a3b8
changeset: 868:64c93568a3b8
user:      Howard Butler <hobu.inc at gmail.com>
date:      Mon Jul 18 14:54:01 2011 -0500
description:
>> is an operator and not so good for template discrimination on many compilers

diffstat:

 include/pdal/PipelineManager.hpp |  8 ++++----
 src/filters/CropFilter.cpp       |  2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r 8df5c02ac502 -r 64c93568a3b8 include/pdal/PipelineManager.hpp
--- a/include/pdal/PipelineManager.hpp	Thu Jul 14 23:35:27 2011 -0700
+++ b/include/pdal/PipelineManager.hpp	Mon Jul 18 14:54:01 2011 -0500
@@ -75,10 +75,10 @@
 private:
     StageFactory m_factory;
 
-    std::vector<boost::shared_ptr<Reader>> m_readerStages;
-    std::vector<boost::shared_ptr<Filter>> m_filterStages;
-    std::vector<boost::shared_ptr<MultiFilter>> m_multifilterStages;
-    std::vector<boost::shared_ptr<Writer>> m_writerStages;
+    std::vector<boost::shared_ptr<Reader> > m_readerStages;
+    std::vector<boost::shared_ptr<Filter> > m_filterStages;
+    std::vector<boost::shared_ptr<MultiFilter> > m_multifilterStages;
+    std::vector<boost::shared_ptr<Writer> > m_writerStages;
 
     PipelineManager& operator=(const PipelineManager&); // not implemented
     PipelineManager(const PipelineManager&); // not implemented
diff -r 8df5c02ac502 -r 64c93568a3b8 src/filters/CropFilter.cpp
--- a/src/filters/CropFilter.cpp	Thu Jul 14 23:35:27 2011 -0700
+++ b/src/filters/CropFilter.cpp	Mon Jul 18 14:54:01 2011 -0500
@@ -46,7 +46,7 @@
 CropFilter::CropFilter(const Stage& prevStage, const Options& options)
     : Filter(prevStage, options)
 {
-    const Bounds<double> bounds = options.getValue<Bounds<double>>("bounds");
+    const Bounds<double> bounds = options.getValue<Bounds<double> >("bounds");
 
     this->setBounds(bounds);
 


More information about the Liblas-commits mailing list