Skip to content

Commit c20247d

Browse files
committed
Remove useless clear() method
1 parent 8bc097f commit c20247d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

include/boost/compute/distributed/vector.hpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -515,12 +515,6 @@ class vector
515515
std::swap(m_queue, other.m_queue);
516516
}
517517

518-
/// Removes all elements from the vector.
519-
void clear()
520-
{
521-
m_size = 0;
522-
}
523-
524518
/// Returns the underlying buffer.
525519
std::vector<buffer> get_buffers() const
526520
{

0 commit comments

Comments
 (0)