mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 11:27:15 +02:00
Remove print statements
This commit is contained in:
@ -81,12 +81,8 @@ namespace boost {
|
|||||||
template <class A>
|
template <class A>
|
||||||
static void construct(A&, element_type* p, element_type&& x)
|
static void construct(A&, element_type* p, element_type&& x)
|
||||||
{
|
{
|
||||||
std::cout << "should be seeing this: construct(A&, element_type* p, "
|
|
||||||
"element_type&& x)"
|
|
||||||
<< std::endl;
|
|
||||||
p->p = x.p;
|
p->p = x.p;
|
||||||
x.p = nullptr;
|
x.p = nullptr;
|
||||||
std::cout << "p->p is now: " << p->p << std::endl;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template <class A>
|
template <class A>
|
||||||
@ -117,7 +113,6 @@ namespace boost {
|
|||||||
template <class A> static void destroy(A& al, element_type* p) noexcept
|
template <class A> static void destroy(A& al, element_type* p) noexcept
|
||||||
{
|
{
|
||||||
if (p->p) {
|
if (p->p) {
|
||||||
std::cout << "going to deallocate: " << p->p << std::endl;
|
|
||||||
boost::allocator_destroy(al, p->p);
|
boost::allocator_destroy(al, p->p);
|
||||||
boost::allocator_deallocate(al,
|
boost::allocator_deallocate(al,
|
||||||
boost::pointer_traits<
|
boost::pointer_traits<
|
||||||
|
Reference in New Issue
Block a user