Blame libkdtree++-0.7.0-pedantic.patch
|
Eric Smith |
53fbff5 |
diff -up libkdtree++_0.7.0/kdtree++/kdtree.hpp.pedantic libkdtree++_0.7.0/kdtree++/kdtree.hpp
|
|
Eric Smith |
53fbff5 |
--- libkdtree++_0.7.0/kdtree++/kdtree.hpp.pedantic 2012-06-22 15:48:57.205031865 -0700
|
|
Eric Smith |
53fbff5 |
+++ libkdtree++_0.7.0/kdtree++/kdtree.hpp 2012-06-22 15:49:58.724028752 -0700
|
|
Eric Smith |
53fbff5 |
@@ -1163,7 +1163,7 @@ namespace KDTree
|
|
Eric Smith |
53fbff5 |
{
|
|
Eric Smith |
53fbff5 |
typename _Base::NoLeakAlloc noleak(this);
|
|
Eric Smith |
53fbff5 |
_Link_type new_node = noleak.get();
|
|
Eric Smith |
53fbff5 |
- _M_construct_node(new_node, __V, __PARENT, __LEFT, __RIGHT);
|
|
Eric Smith |
53fbff5 |
+ _Base::_M_construct_node(new_node, __V, __PARENT, __LEFT, __RIGHT);
|
|
Eric Smith |
53fbff5 |
noleak.disconnect();
|
|
Eric Smith |
53fbff5 |
return new_node;
|
|
Eric Smith |
53fbff5 |
}
|
|
Eric Smith |
53fbff5 |
@@ -1181,8 +1181,8 @@ namespace KDTree
|
|
Eric Smith |
53fbff5 |
void
|
|
Eric Smith |
53fbff5 |
_M_delete_node(_Link_type __p)
|
|
Eric Smith |
53fbff5 |
{
|
|
Eric Smith |
53fbff5 |
- _M_destroy_node(__p);
|
|
Eric Smith |
53fbff5 |
- _M_deallocate_node(__p);
|
|
Eric Smith |
53fbff5 |
+ _Base::_M_destroy_node(__p);
|
|
Eric Smith |
53fbff5 |
+ _Base::_M_deallocate_node(__p);
|
|
Eric Smith |
53fbff5 |
}
|
|
Eric Smith |
53fbff5 |
|
|
Eric Smith |
53fbff5 |
_Link_type _M_root;
|