Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove declarations for never used signal slots.
[simgrid.git] / src / instr / instr_paje_trace.cpp
index 818df48..2a440d1 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2018. The SimGrid Team.
+/* Copyright (c) 2010-2019. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -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;