From 2fdac8e44fe72cf8df28926a7b907c9c25a71e35 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Mon, 20 Jun 2016 18:26:11 +0200 Subject: [PATCH] don't return void values --- src/simix/libsmx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/simix/libsmx.cpp b/src/simix/libsmx.cpp index be3b661f7a..9ac65fd3bc 100644 --- a/src/simix/libsmx.cpp +++ b/src/simix/libsmx.cpp @@ -1091,12 +1091,12 @@ xbt_dict_t simcall_storage_get_content(smx_storage_t storage) void simcall_run_kernel(std::function const& code) { - return simcall_BODY_run_kernel(&code); + simcall_BODY_run_kernel(&code); } void simcall_run_blocking(std::function const& code) { - return simcall_BODY_run_blocking(&code); + simcall_BODY_run_blocking(&code); } int simcall_mc_random(int min, int max) { -- 2.20.1