summaryrefslogtreecommitdiff
path: root/src/routines/level1/xasum.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/routines/level1/xasum.cc')
-rw-r--r--src/routines/level1/xasum.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routines/level1/xasum.cc b/src/routines/level1/xasum.cc
index 5799e25a..ea33d7e1 100644
--- a/src/routines/level1/xasum.cc
+++ b/src/routines/level1/xasum.cc
@@ -55,7 +55,7 @@ StatusCode Xasum<T>::DoAsum(const size_t n,
// Retrieves the Xasum kernels from the compiled binary
try {
- auto& program = GetProgramFromCache();
+ const auto program = GetProgramFromCache();
auto kernel1 = Kernel(program, "Xasum");
auto kernel2 = Kernel(program, "XasumEpilogue");