From 786b4eb00e9ccc5c1fc37494df19c829eaa6bb61 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Fri, 8 Jun 2018 12:26:39 +0200 Subject: [PATCH] Fix compiling with CUDA --- include/deal.II/base/exceptions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/deal.II/base/exceptions.h b/include/deal.II/base/exceptions.h index a3b06c3549..223819ae3d 100644 --- a/include/deal.II/base/exceptions.h +++ b/include/deal.II/base/exceptions.h @@ -958,7 +958,7 @@ namespace StandardExceptions * The constructor takes a single char*, the output of * cudaGetErrorString. */ - DeclException1(ExcCudaError, char *, << arg1); + DeclException1(ExcCudaError, const char *, << arg1); /** * This exception is raised if an error happened in a cuSPARSE function. */ -- 2.39.5