X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/29a3b2869c0075fc75e8ccc66fc1d9c4c8bf6a85..1643b1711d3403b8c3ae7091e38cb69f5f9a1272:/include/xbt/functional.hpp diff --git a/include/xbt/functional.hpp b/include/xbt/functional.hpp index e6f7ca7b08..a8a7ad6e07 100644 --- a/include/xbt/functional.hpp +++ b/include/xbt/functional.hpp @@ -301,21 +301,6 @@ XBT_ATTRIB_DEPRECATED_v323("Please use make_task()") auto makeTask(F code, Args. return Task(std::move(task)); } -template -inline XBT_ATTRIB_DEPRECATED_v323("Please use wrap_main()") std::function wrapMain( - F code, std::vector args) -{ - return MainFunction(std::move(code), std::move(args)); -} - -template -inline XBT_ATTRIB_DEPRECATED_v323("Please use wrap_main()") std::function wrapMain(F code, int argc, - const char* const argv[]) -{ - std::vector args(argv, argv + argc); - return MainFunction(std::move(code), std::move(args)); -} - } // namespace xbt } // namespace simgrid #endif