-/* 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
extern std::ofstream tracing_file;
-std::vector<simgrid::instr::PajeEvent*> buffer;
+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;