[Liblas-commits] hg-main-tree: reorder initialization order

liblas-commits at liblas.org liblas-commits at liblas.org
Mon Jul 11 11:52:09 EDT 2011


details:   http://hg.libpc.orghg-main-tree/rev/590af14311a4
changeset: 845:590af14311a4
user:      Howard Butler <hobu.inc at gmail.com>
date:      Mon Jul 11 10:52:02 2011 -0500
description:
reorder initialization order

diffstat:

 include/pdal/Options.hpp |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (15 lines):

diff -r fac8fd795c88 -r 590af14311a4 include/pdal/Options.hpp
--- a/include/pdal/Options.hpp	Sun Jul 03 14:17:21 2011 -0500
+++ b/include/pdal/Options.hpp	Mon Jul 11 10:52:02 2011 -0500
@@ -76,9 +76,9 @@
 {
 public:
     Option(std::string const& name, T value, std::string const& description) 
-        : m_value(value)
+        : m_name(name)
         , m_description(description)
-        , m_name(name)
+        , m_value(value)
     {}
     
     std::string const& getName() const { return m_name; }


More information about the Liblas-commits mailing list