Commit 1a2eaf85 by Tobias Schuele

Resolved Clang warnings about unused variables in object pool implementation.

parent d69ac716
......@@ -49,7 +49,7 @@ ReturningTrueIterator::operator++() {
template<class T, typename ValuePool, class ObjectAllocator>
typename ObjectPool<T, ValuePool, ObjectAllocator>::
ReturningTrueIterator::self_type ObjectPool<T, ValuePool, ObjectAllocator>::
ReturningTrueIterator::operator++(int junk) {
ReturningTrueIterator::operator++(int) {
count_value++;
return *this;
}
......
......@@ -94,7 +94,7 @@ class ObjectPool {
typedef int difference_type;
explicit ReturningTrueIterator(size_t count_value);
self_type operator++();
self_type operator++(int junk);
self_type operator++(int);
reference operator*();
pointer operator->();
bool operator==(const self_type& rhs);
......
......@@ -36,9 +36,6 @@ namespace containers {
namespace test {
class ObjectPoolTestStruct {
private:
int a;
int b;
int c[40];
int thread_id;
public:
explicit ObjectPoolTestStruct(int thread_id);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment