Skip to content

Commit

Permalink
Corrected error in initialization list for _Region constructor
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Zeiser <[email protected]>
Signed-off-by: martin f. krafft <[email protected]>
  • Loading branch information
Andreas Zeiser authored and madduck committed May 7, 2009
1 parent 82501b3 commit e6ee410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kdtree++/region.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e6ee410

Please sign in to comment.