]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix compiling with CUDA 6733/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Fri, 8 Jun 2018 10:26:39 +0000 (12:26 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Fri, 8 Jun 2018 10:26:39 +0000 (12:26 +0200)
include/deal.II/base/exceptions.h

index a3b06c35498feee259a393898182d9ca5c13a4ca..223819ae3d6dba9cf008b6cbf026ad2aa0d6be9d 100644 (file)
@@ -958,7 +958,7 @@ namespace StandardExceptions
    * The constructor takes a single <tt>char*</tt>, 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.
    */

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.