From: Artem Zhmurov Date: Tue, 11 Feb 2020 09:43:14 +0000 (+0100) Subject: Fix the nightly failure X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=e91b744e8cbf2038a4dddce0609a33f396902bb5;p=alexxy%2Fgromacs.git Fix the nightly failure Change-Id: I06a75ba83590d2c6cdf94354e1b8c814db493ef0 --- diff --git a/src/gromacs/gpu_utils/ocl_compiler.cpp b/src/gromacs/gpu_utils/ocl_compiler.cpp index 5ce28b8fd2..d2dc183566 100644 --- a/src/gromacs/gpu_utils/ocl_compiler.cpp +++ b/src/gromacs/gpu_utils/ocl_compiler.cpp @@ -313,7 +313,7 @@ size_t getDeviceWarpSize(cl_context context, cl_device_id deviceId) * * \return The appropriate compilation-line define */ -static const std::string makeVendorFlavorChoice(DeviceVendor deviceVendor) +static std::string makeVendorFlavorChoice(DeviceVendor deviceVendor) { switch (deviceVendor) {