Skip to content
Snippets Groups Projects
Commit 53b2e076 authored by Oliver Sander's avatar Oliver Sander
Browse files

Fix missing parentheses in the call to method 'size'.

Seems like not many people use this class :-)

Thanks to Elias Pipping for the patch.

[[Imported from SVN: r6537]]
parent fcb56ebe
No related branches found
No related tags found
No related merge requests found
......@@ -625,7 +625,7 @@ namespace Dune
template<typename T, class A>
bool SLList<T,A>::operator==(const SLList& other) const
{
if(size!=other.size())
if(size()!=other.size())
return false;
for(const_iterator iter=begin(), oiter=other.begin();
iter != end(); ++iter, ++oiter)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment