Commit 7abee20a authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[2726] Remove unnecessary template parameters

They are not needed, as it makes no sense to call constructor with
different template parameter than one of the class being constructed.
This also confused some versions of cppcheck and it thought there's no
constructor available.
parent 253dc447
......@@ -98,10 +98,10 @@ struct SectionIteratorImpl;
template <typename T>
class SectionIterator : public std::iterator<std::input_iterator_tag, T> {
SectionIterator<T>() : impl_(NULL) {}
SectionIterator<T>(const SectionIteratorImpl<T>& impl);
SectionIterator<T>(const SectionIterator<T>& source);
SectionIterator() : impl_(NULL) {}
SectionIterator(const SectionIteratorImpl<T>& impl);
SectionIterator(const SectionIterator<T>& source);
void operator=(const SectionIterator<T>& source);
SectionIterator<T>& operator++();
SectionIterator<T> operator++(int);
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 to comment