fix more warnings
This commit is contained in:
parent
24bc8edd6f
commit
8ad56f7ad3
9 changed files with 26 additions and 25 deletions
|
|
@ -192,16 +192,16 @@ public:
|
|||
/**
|
||||
* Print the structure of the topology on the standrad output.
|
||||
*/
|
||||
void printOn()
|
||||
void printOn(std::ostream& out) const
|
||||
{
|
||||
for (unsigned i=0;i< neighborhoods.size();i++)
|
||||
{
|
||||
std::cout << "{ " ;
|
||||
out << "{ " ;
|
||||
for (unsigned j=0;j< neighborhoods[i].size();j++)
|
||||
{
|
||||
std::cout << neighborhoods[i].get(j) << " ";
|
||||
out << neighborhoods[i].get(j) << " ";
|
||||
}
|
||||
std::cout << "}" << std::endl;
|
||||
out << "}" << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue