X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/acfefd9e64a42eb98651e90224f69a3b845a1a61..d7bad17b9b1c8c9475fcf86bfeebc4d5d7d35fb4:/src/xbt/backtrace.cpp diff --git a/src/xbt/backtrace.cpp b/src/xbt/backtrace.cpp index 7b44c9f4d1..24ebc39921 100644 --- a/src/xbt/backtrace.cpp +++ b/src/xbt/backtrace.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2005-2022. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2005-2023. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -61,7 +61,7 @@ public: frame_name.find("simcall_run_answered") != std::string::npos || frame_name.find("simcall_run_blocking") != std::string::npos) { frame_count = 0; - ss.str(std::string()); // This is how you clear a stringstream in C++. clear() is something else :'( + ss.str(""); // This is how you clear a stringstream in C++. clear() is something else :'( } if (frame_name == "main") break;