From: David Wells Date: Sat, 11 Feb 2017 14:44:14 +0000 (-0500) Subject: Rename an identifier that started with an underscore. X-Git-Tag: v8.5.0-rc1~122^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=429f5525ab815ee57655eae1bcff12a6d39eb245;p=dealii.git Rename an identifier that started with an underscore. Identifiers starting with a single underscore followed by a capital letter are reserved by the C standard. --- diff --git a/include/deal.II/lac/block_vector_base.h b/include/deal.II/lac/block_vector_base.h index 35fcf7cdc8..e4d072675a 100644 --- a/include/deal.II/lac/block_vector_base.h +++ b/include/deal.II/lac/block_vector_base.h @@ -343,47 +343,47 @@ namespace internal * Compare for equality of iterators. This operator checks whether the * vectors pointed to are the same, and if not it throws an exception. */ - template - bool operator == (const Iterator &i) const; + template + bool operator == (const Iterator &i) const; /** * Compare for inequality of iterators. This operator checks whether the * vectors pointed to are the same, and if not it throws an exception. */ - template - bool operator != (const Iterator &i) const; + template + bool operator != (const Iterator &i) const; /** * Check whether this iterators points to an element previous to the one * pointed to by the given argument. This operator checks whether the * vectors pointed to are the same, and if not it throws an exception. */ - template - bool operator < (const Iterator &i) const; + template + bool operator < (const Iterator &i) const; /** * Comparison operator alike to the one above. */ - template - bool operator <= (const Iterator &i) const; + template + bool operator <= (const Iterator &i) const; /** * Comparison operator alike to the one above. */ - template - bool operator > (const Iterator &i) const; + template + bool operator > (const Iterator &i) const; /** * Comparison operator alike to the one above. */ - template - bool operator >= (const Iterator &i) const; + template + bool operator >= (const Iterator &i) const; /** * Return the distance between the two iterators, in elements. */ - template - difference_type operator - (const Iterator &i) const; + template + difference_type operator - (const Iterator &i) const; /** * Return an iterator which is the given number of elements in front of @@ -1179,11 +1179,11 @@ namespace internal template - template + template inline bool Iterator:: - operator == (const Iterator &i) const + operator == (const Iterator &i) const { Assert (parent == i.parent, ExcPointerToDifferentVectors()); @@ -1193,11 +1193,11 @@ namespace internal template - template + template inline bool Iterator:: - operator != (const Iterator &i) const + operator != (const Iterator &i) const { Assert (parent == i.parent, ExcPointerToDifferentVectors()); @@ -1207,11 +1207,11 @@ namespace internal template - template + template inline bool Iterator:: - operator < (const Iterator &i) const + operator < (const Iterator &i) const { Assert (parent == i.parent, ExcPointerToDifferentVectors()); @@ -1221,11 +1221,11 @@ namespace internal template - template + template inline bool Iterator:: - operator <= (const Iterator &i) const + operator <= (const Iterator &i) const { Assert (parent == i.parent, ExcPointerToDifferentVectors()); @@ -1235,11 +1235,11 @@ namespace internal template - template + template inline bool Iterator:: - operator > (const Iterator &i) const + operator > (const Iterator &i) const { Assert (parent == i.parent, ExcPointerToDifferentVectors()); @@ -1249,11 +1249,11 @@ namespace internal template - template + template inline bool Iterator:: - operator >= (const Iterator &i) const + operator >= (const Iterator &i) const { Assert (parent == i.parent, ExcPointerToDifferentVectors()); @@ -1263,11 +1263,11 @@ namespace internal template - template + template inline typename Iterator::difference_type Iterator:: - operator - (const Iterator &i) const + operator - (const Iterator &i) const { Assert (parent == i.parent, ExcPointerToDifferentVectors());