Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove unused type definitions.
[simgrid.git] / src / instr / instr_paje_trace.cpp
index f8a0bd1..2a440d1 100644 (file)
@@ -17,13 +17,13 @@ extern std::ofstream tracing_file;
 
 static std::vector<simgrid::instr::PajeEvent*> buffer;
 
-void dump_comment(std::string comment)
+void dump_comment(const std::string& comment)
 {
   if (not comment.empty())
     tracing_file << "# " << comment << std::endl;
 }
 
-void dump_comment_file(std::string filename)
+void dump_comment_file(const std::string& filename)
 {
   if (filename.empty())
     return;