[MOAB-dev] commit/MOAB: danwu: In the constructor of Bvh_tree class, the initialization list should use entity_contains( _entity_contains) instead of entity_contains( entity_contains). The compile warning on unused parameter _entity_contains is helpful in finding this bug.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Thu Sep 5 14:44:52 CDT 2013


1 new commit in MOAB:

https://bitbucket.org/fathomteam/moab/commits/874ab16eeb26/
Changeset:   874ab16eeb26
Branch:      master
User:        danwu
Date:        2013-09-05 21:44:42
Summary:     In the constructor of Bvh_tree class, the initialization list should use entity_contains( _entity_contains) instead of entity_contains( entity_contains). The compile warning on unused parameter _entity_contains is helpful in finding this bug.

Affected #:  1 file

diff --git a/src/moab/point_locater/tree/bvh_tree.hpp b/src/moab/point_locater/tree/bvh_tree.hpp
index f050242..266d784 100644
--- a/src/moab/point_locater/tree/bvh_tree.hpp
+++ b/src/moab/point_locater/tree/bvh_tree.hpp
@@ -162,7 +162,7 @@ Bvh_tree( Entity_handles & _entities,
 	  Parametrizer & _entity_contains): entity_handles_( _entities), 
 				tree_(), moab( _moab), 
 				bounding_box( _bounding_box),
-				entity_contains( entity_contains){
+				entity_contains( _entity_contains){
 	typedef typename Entity_handles::iterator Entity_handle_iterator;
 	typedef  ct::_Element_data< const _Box, double > Element_data;
 	typedef typename std::tr1::unordered_map< Entity_handle,

Repository URL: https://bitbucket.org/fathomteam/moab/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.


More information about the moab-dev mailing list