From 3cff3536c819b0c79aea9b5b72301622eea62c76 Mon Sep 17 00:00:00 2001 From: Hugo Lima Date: Fri, 19 Mar 2010 15:24:52 -0300 Subject: Pass QHash by reference for dumpDot method. Reviewer: Marcelo Lira Reviewer: Anderson Lizardo --- graph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graph.cpp') diff --git a/graph.cpp b/graph.cpp index 7ad7e9931..a77f658e6 100644 --- a/graph.cpp +++ b/graph.cpp @@ -114,7 +114,7 @@ void Graph::dump() const } } -void Graph::dumpDot(const QHash< int, QString > nodeNames, const QString& fileName) const +void Graph::dumpDot(const QHash< int, QString >& nodeNames, const QString& fileName) const { QFile output(fileName); if (!output.open(QIODevice::WriteOnly)) -- cgit v1.2.3