Fix the nightly failure
[alexxy/gromacs.git] / 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)
     {