Skip to content

Commit

Permalink
fibonacci heap: remove invalid copy constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
timblechmann committed Feb 8, 2015
1 parent 8c6a06f commit 6ca2c4c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions include/boost/heap/fibonacci_heap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,13 +243,6 @@ class fibonacci_heap:
rhs.top_element = NULL;
}

fibonacci_heap(fibonacci_heap & rhs):
super_t(rhs), top_element(rhs.top_element)
{
roots.splice(roots.begin(), rhs.roots);
rhs.top_element = NULL;
}

/// \copydoc boost::heap::priority_queue::operator=(priority_queue &&)
fibonacci_heap & operator=(fibonacci_heap && rhs)
{
Expand Down

0 comments on commit 6ca2c4c

Please sign in to comment.