aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/buildgraph/cycledetector.h
diff options
context:
space:
mode:
authorIvan Komissarov <ABBAPOH@gmail.com>2019-02-19 19:37:37 +0100
committerIvan Komissarov <ABBAPOH@gmail.com>2019-03-07 12:39:16 +0000
commit936eee744db9b2fd1b9b66d168d80a113002aad2 (patch)
tree84a4ab7f0f18c7ad9af5e6521012a86a6eef1189 /src/lib/corelib/buildgraph/cycledetector.h
parentf3056e49c3b2443c5dd9abf78c46381fdbbbd731 (diff)
Use pass-by-value and move
This fixes -Wmodernize-pass-by-value Change-Id: I85a732867866e43c39c1d77937fbc645433c96bd Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/lib/corelib/buildgraph/cycledetector.h')
-rw-r--r--src/lib/corelib/buildgraph/cycledetector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/cycledetector.h b/src/lib/corelib/buildgraph/cycledetector.h
index fffe6ed2f..5bfb44ef8 100644
--- a/src/lib/corelib/buildgraph/cycledetector.h
+++ b/src/lib/corelib/buildgraph/cycledetector.h
@@ -52,7 +52,7 @@ class BuildGraphNode;
class QBS_AUTOTEST_EXPORT CycleDetector : private BuildGraphVisitor
{
public:
- CycleDetector(const Logger &logger);
+ CycleDetector(Logger logger);
void visitProject(const TopLevelProjectConstPtr &project);
void visitProduct(const ResolvedProductConstPtr &product);