Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
explicitely capture variables in lambda to please sonar
[simgrid.git] / src / smpi / smpi_static_variables.cpp
index cd0dff3..19fcd99 100644 (file)
@@ -24,7 +24,7 @@ void smpi_register_static(void* arg, void_f_pvoid_t free_fn) {
   registered_static_variables_stack.push(elm);
 }
 
-void smpi_free_static(void) {
+void smpi_free_static() {
   while (!registered_static_variables_stack.empty()) {
     s_smpi_static_t elm = registered_static_variables_stack.top();
     elm.free_fn(elm.ptr);