From eb2208d7339175c3d996f9144a3b8aa144c165b7 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Fri, 2 Oct 2020 22:04:16 +0200 Subject: [PATCH 1/1] Const qualifier is useless. --- include/simgrid/Exception.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2