From 1039682e347ac58d2f4f757aba0a4038c53907f8 Mon Sep 17 00:00:00 2001 From: Anton Piccardo-Selg <anton.piccardo-selg@tessella.com> Date: Wed, 20 Apr 2016 19:40:51 +0100 Subject: [PATCH] Refs #15933 Remove reference --- Framework/API/test/MatrixWorkspaceTest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Framework/API/test/MatrixWorkspaceTest.h b/Framework/API/test/MatrixWorkspaceTest.h index 7d5368c9125..527096d9f29 100644 --- a/Framework/API/test/MatrixWorkspaceTest.h +++ b/Framework/API/test/MatrixWorkspaceTest.h @@ -1339,7 +1339,7 @@ public: std::all_of(std::begin(readDx), std::end(readDx), compareValueForSpecificWorkspaceIndex)); - auto &refDx = ws.refDx(index); + auto refDx = ws.refDx(index); TSM_ASSERT("readDx should allow access to the spectrum", std::all_of(std::begin(*refDx), std::end(*refDx), compareValueForSpecificWorkspaceIndex)); -- GitLab