diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-03-19 15:24:52 -0300 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-03-19 16:39:57 -0300 |
commit | 3cff3536c819b0c79aea9b5b72301622eea62c76 (patch) | |
tree | dc77848875aa9e3640f0883f7e09ba4057a3865f /graph.cpp | |
parent | 199baeb498888cc12b1751f689b9bad79f03705f (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.cpp')
-rw-r--r-- | graph.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) |