Fix the nightly failure
authorArtem Zhmurov <zhmurov@gmail.com>
Tue, 11 Feb 2020 09:43:14 +0000 (10:43 +0100)
committerArtem Zhmurov <zhmurov@gmail.com>
Tue, 11 Feb 2020 09:43:14 +0000 (10:43 +0100)
Change-Id: I06a75ba83590d2c6cdf94354e1b8c814db493ef0

src/gromacs/gpu_utils/ocl_compiler.cpp

index 5ce28b8fd2bff832410e3dcaa3485a726f230cd5..d2dc183566d1b91c55ff5e8d5d07d0c613d5f018 100644 (file)
@@ -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)
     {