[PATCH] commit ada80b61b86f854b2a1937a616a5aba13d082547

Andreas Zeiser andreas.zeiser at web.de
Thu May 7 11:41:46 UTC 2009


    Corrected error in initialization list for constructor
    _Region(_Acc const&, const _Cmp&)

Signed-off-by: Andreas Zeiser <andreas.zeiser at web.de>
---
 kdtree++/region.hpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kdtree++/region.hpp b/kdtree++/region.hpp
index 98acab1..e334315 100644
--- a/kdtree++/region.hpp
+++ b/kdtree++/region.hpp
@@ -27,7 +27,7 @@ namespace KDTree
       typedef std::pair<_Region,_SubVal> _CenterPt;
 
       _Region(_Acc const& __acc=_Acc(), const _Cmp& __cmp=_Cmp())
-       : _M_cmp(__acc), _M_acc(__cmp) {}
+       : _M_acc(__acc), _M_cmp(__cmp) {}
 
       template <typename Val>
       _Region(Val const& __V,
-- 




More information about the libkdtree-devel mailing list