Skip to content
Snippets Groups Projects
Commit 3e405a0b authored by Markus Blatt's avatar Markus Blatt
Browse files

[release] Removes spurious const qualification from function return types.

parent 80534570
No related branches found
No related tags found
No related merge requests found
...@@ -671,7 +671,7 @@ namespace Dune ...@@ -671,7 +671,7 @@ namespace Dune
* @param target The target vertex of the edge we search for. * @param target The target vertex of the edge we search for.
* @return The edge we found or numeric_limits<EdgeIterator>::max() if it does not exist. * @return The edge we found or numeric_limits<EdgeIterator>::max() if it does not exist.
*/ */
const EdgeDescriptor findEdge(const VertexDescriptor& source, EdgeDescriptor findEdge(const VertexDescriptor& source,
const VertexDescriptor& target) const; const VertexDescriptor& target) const;
/** /**
* @brief Constructor. * @brief Constructor.
...@@ -1959,7 +1959,7 @@ namespace Dune ...@@ -1959,7 +1959,7 @@ namespace Dune
} }
template<class G, class T> template<class G, class T>
inline const typename SubGraph<G,T>::EdgeDescriptor SubGraph<G,T>::findEdge(const VertexDescriptor& source, inline typename SubGraph<G,T>::EdgeDescriptor SubGraph<G,T>::findEdge(const VertexDescriptor& source,
const VertexDescriptor& target) const const VertexDescriptor& target) const
{ {
const EdgeDescriptor edge = std::lower_bound(edges_+start_[source], edges_+end_[source], target); const EdgeDescriptor edge = std::lower_bound(edges_+start_[source], edges_+end_[source], target);
......
...@@ -33,7 +33,7 @@ namespace Dune ...@@ -33,7 +33,7 @@ namespace Dune
category = SolverCategory::sequential category = SolverCategory::sequential
}; };
const SolverCategory::Category getSolverCategory () const { SolverCategory::Category getSolverCategory () const {
return SolverCategory::sequential; return SolverCategory::sequential;
} }
......
...@@ -498,7 +498,7 @@ void testGraph () ...@@ -498,7 +498,7 @@ void testGraph ()
} }
void testAggregate() void testAggregate(double eps)
{ {
typedef Dune::FieldMatrix<double,1,1> ScalarDouble; typedef Dune::FieldMatrix<double,1,1> ScalarDouble;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment