From 0c8f9495bcc8ac1c8e29c091fd4f9fca85e4c3ad Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@dune-project.org> Date: Tue, 6 Dec 2011 17:25:52 +0000 Subject: [PATCH] Add missing parentheses in call to method 'size' [[Imported from SVN: r6538]] --- dune/common/sllist.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dune/common/sllist.hh b/dune/common/sllist.hh index 12e6395e7..90b5b8c4a 100644 --- a/dune/common/sllist.hh +++ b/dune/common/sllist.hh @@ -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) -- GitLab