X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/da782b62777961ea5041717ec5ae80248d6d5785..266990bfb49caf8fb62fb1af74716ebbcd4bc923:/include/xbt/functional.hpp diff --git a/include/xbt/functional.hpp b/include/xbt/functional.hpp index 48803e619e..e6f7ca7b08 100644 --- a/include/xbt/functional.hpp +++ b/include/xbt/functional.hpp @@ -56,10 +56,6 @@ template inline std::function wrap_main(F code, std::vector(std::move(code), std::move(args)); } -inline std::function wrap_main(void (*code)(std::vector), std::vector args) -{ - return std::bind(std::move(code), std::move(args)); -} template inline std::function wrap_main(F code, int argc, const char* const argv[]) {