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

Fixed return type in definition. previously g++-4.5 complained about this.

[[Imported from SVN: r6359]]
parent 8f045ea1
No related branches found
No related tags found
No related merge requests found
...@@ -1221,6 +1221,7 @@ namespace Dune { ...@@ -1221,6 +1221,7 @@ namespace Dune {
if(neighbourIds.size()==0) if(neighbourIds.size()==0)
{ {
std::cout<<rank<<": Sending messages in a ring"<<std::endl;
// send mesages in ring // send mesages in ring
for(int proc=1; proc<procs; proc++) { for(int proc=1; proc<procs; proc++) {
// pointers to the current input and output buffers // pointers to the current input and output buffers
...@@ -1510,10 +1511,7 @@ namespace Dune { ...@@ -1510,10 +1511,7 @@ namespace Dune {
} }
template<typename T, typename A> template<typename T, typename A>
inline typename std::map<int, std::pair<SLList<typename RemoteIndices<T,A>::RemoteIndex, inline typename RemoteIndices<T,A>::const_iterator
typename RemoteIndices<T,A>::Allocator >*,
SLList<typename RemoteIndices<T,A>::RemoteIndex,
typename RemoteIndices<T,A>::Allocator >*> >::const_iterator
RemoteIndices<T,A>::find(int proc) const RemoteIndices<T,A>::find(int proc) const
{ {
return remoteIndices_.find(proc); return remoteIndices_.find(proc);
......
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