Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove explicit conversion to std::string when it's not required.
[simgrid.git] / src / mc / sosp / Snapshot.cpp
index b36d8cd..01ae368 100644 (file)
@@ -130,7 +130,7 @@ static std::vector<s_mc_stack_frame_t> unwind_stack_frames(UnwindContext* stack_
       stack_frame.frame_base = (unw_word_t)frame->frame_base(c);
     } else {
       stack_frame.frame_base = 0;
-      stack_frame.frame_name = std::string();
+      stack_frame.frame_name = "";
     }
 
     result.push_back(std::move(stack_frame));