From 18aebc785f80685ce46b45185f30833adf62098e Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Sat, 14 Jan 2023 13:37:33 +0100 Subject: TestResult: Change semantic for createIntermediateResultFor Don't pass the other test result into createIntermediateResultFor(). Rename it to createIntermediateResult() and create a new result based on this object. Fix the caller so that it calls createIntermediateResult() for previously passed "other". Change-Id: I2c87cee1daa4f400c867852d071bd5c91b84dfd5 Reviewed-by: Reviewed-by: Christian Stenger --- src/plugins/autotest/testresult.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/autotest/testresult.h') diff --git a/src/plugins/autotest/testresult.h b/src/plugins/autotest/testresult.h index a136d356e18..08136db6f54 100644 --- a/src/plugins/autotest/testresult.h +++ b/src/plugins/autotest/testresult.h @@ -105,7 +105,7 @@ public: bool isDirectParentOf(const TestResult *other, bool *needsIntermediate) const; bool isIntermediateFor(const TestResult *other) const; - TestResult *createIntermediateResultFor(const TestResult *other) const; + TestResult *createIntermediateResult() const; private: QString m_id; -- cgit v1.2.3