[Liblas-commits] hg-main-tree: fix stupid name and remove silly cast
liblas-commits at liblas.org
liblas-commits at liblas.org
Wed Mar 23 22:03:40 EDT 2011
details: http://hg.libpc.orghg-main-tree/rev/fc3f7df77a64
changeset: 419:fc3f7df77a64
user: Michael P. Gerlek <mpg at flaxen.com>
date: Wed Mar 23 19:03:35 2011 -0700
description:
fix stupid name and remove silly cast
diffstat:
include/libpc/FilterIterator.hpp | 4 ++--
src/FilterIterator.cpp | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (50 lines):
diff -r e175564d9a6c -r fc3f7df77a64 include/libpc/FilterIterator.hpp
--- a/include/libpc/FilterIterator.hpp Wed Mar 23 15:43:21 2011 -0700
+++ b/include/libpc/FilterIterator.hpp Wed Mar 23 19:03:35 2011 -0700
@@ -57,7 +57,7 @@
const SequentialIterator& getPrevIterator() const;
private:
- const Filter& m_stageAsFilter;
+ const Filter& m_filter;
SequentialIterator* m_prevIterator;
};
@@ -77,7 +77,7 @@
const RandomIterator& getPrevIterator() const;
private:
- const Filter& m_stageAsFilter;
+ const Filter& m_filter;
RandomIterator* m_prevIterator;
};
diff -r e175564d9a6c -r fc3f7df77a64 src/FilterIterator.cpp
--- a/src/FilterIterator.cpp Wed Mar 23 15:43:21 2011 -0700
+++ b/src/FilterIterator.cpp Wed Mar 23 19:03:35 2011 -0700
@@ -41,10 +41,10 @@
FilterSequentialIterator::FilterSequentialIterator(const Filter& filter)
: SequentialIterator(filter)
- , m_stageAsFilter(static_cast<const Filter&>(filter))
+ , m_filter(filter)
, m_prevIterator(NULL)
{
- m_prevIterator = m_stageAsFilter.getPrevStage().createSequentialIterator();
+ m_prevIterator = m_filter.getPrevStage().createSequentialIterator();
return;
}
@@ -71,10 +71,10 @@
FilterRandomIterator::FilterRandomIterator(const Filter& filter)
: RandomIterator(filter)
- , m_stageAsFilter(static_cast<const Filter&>(filter))
+ , m_filter(filter)
, m_prevIterator(NULL)
{
- m_prevIterator = m_stageAsFilter.getPrevStage().createRandomIterator();
+ m_prevIterator = m_filter.getPrevStage().createRandomIterator();
return;
}
More information about the Liblas-commits
mailing list