]> https://gitweb.dealii.org/ - dealii.git/commitdiff
avoid a warning
authorMatthias Maier <tamiko@43-1.org>
Sun, 20 Feb 2022 18:20:26 +0000 (12:20 -0600)
committerMatthias Maier <tamiko@43-1.org>
Fri, 11 Mar 2022 21:46:34 +0000 (15:46 -0600)
tests/performance/valgrind_instrumentation.h

index 31132441b90b62ecb7d18b6aeb0cb15cdf032798..b8b9dc22573cb6e38fad0bdcbc5adadd3bf3ad83 100644 (file)
@@ -61,7 +61,7 @@ namespace callgrind_wrapper
       std::remove("callgrind.out");
       CALLGRIND_ZERO_STATS;
       CALLGRIND_START_INSTRUMENTATION;
-      const auto my_pid = getpid(); // do something useful
+      const unsigned my_pid = getpid(); // do something useful
       CALLGRIND_DUMP_STATS_AT("callgrind-wrapper-token");
       CALLGRIND_STOP_INSTRUMENTATION;
 

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.