From: Arnaud Giersch Date: Fri, 2 Oct 2020 20:04:16 +0000 (+0200) Subject: Const qualifier is useless. X-Git-Tag: v3.26~406 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/eb2208d7339175c3d996f9144a3b8aa144c165b7 Const qualifier is useless. --- diff --git a/include/simgrid/Exception.hpp b/include/simgrid/Exception.hpp index b7ab71f179..61d7469460 100644 --- a/include/simgrid/Exception.hpp +++ b/include/simgrid/Exception.hpp @@ -92,7 +92,7 @@ public: /** Return the information about where the exception was thrown */ xbt::ThrowPoint const& throw_point() const { return throwpoint_; } - std::string const resolve_backtrace() const { return throwpoint_.backtrace_.resolve(); } + std::string resolve_backtrace() const { return throwpoint_.backtrace_.resolve(); } /** Allow to carry a value (used by waitall/waitany) */ int value = 0;