summaryrefslogtreecommitdiff
path: root/src/routines/level1/xcopy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/routines/level1/xcopy.cc')
-rw-r--r--src/routines/level1/xcopy.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routines/level1/xcopy.cc b/src/routines/level1/xcopy.cc
index 04508383..d34482ce 100644
--- a/src/routines/level1/xcopy.cc
+++ b/src/routines/level1/xcopy.cc
@@ -64,7 +64,7 @@ StatusCode Xcopy<T>::DoCopy(const size_t n,
// Retrieves the Xcopy kernel from the compiled binary
try {
- auto& program = GetProgramFromCache();
+ const auto program = GetProgramFromCache();
auto kernel = Kernel(program, kernel_name);
// Sets the kernel arguments