aboutsummaryrefslogtreecommitdiffstats
path: root/graph.h
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2010-03-19 15:24:52 -0300
committerHugo Lima <hugo.lima@openbossa.org>2010-03-19 16:39:57 -0300
commit3cff3536c819b0c79aea9b5b72301622eea62c76 (patch)
treedc77848875aa9e3640f0883f7e09ba4057a3865f /graph.h
parent199baeb498888cc12b1751f689b9bad79f03705f (diff)
Pass QHash by reference for dumpDot method.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
Diffstat (limited to 'graph.h')
-rw-r--r--graph.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/graph.h b/graph.h
index 2cc0a8f43..d3a754e98 100644
--- a/graph.h
+++ b/graph.h
@@ -52,7 +52,7 @@ public:
* \param nodeNames map used to translate node ids to human readable text.
* \param fileName file name where the output should be written.
*/
- void dumpDot(const QHash<int, QString> nodeNames, const QString& fileName) const;
+ void dumpDot(const QHash<int, QString>& nodeNames, const QString& fileName) const;
/**
* Topologically sort this graph.