Commit ba2a9a23 authored by Artur Wojcik's avatar Artur Wojcik
Browse files

incorporate code changes from the review feedback

parent bdef7adb
...@@ -308,12 +308,6 @@ struct matcher_result ...@@ -308,12 +308,6 @@ struct matcher_result
{ {
} }
instruction_container& operator=(const std::unordered_map<std::string, instruction_ref>& x)
{
ins_map = x;
return *this;
}
instruction_ref operator[](const std::string& name) const instruction_ref operator[](const std::string& name) const
{ {
auto it = ins_map.find(name); auto it = ins_map.find(name);
......
...@@ -44,8 +44,8 @@ MIGRAPHX_DECLARE_ENV_VAR(MIGRAPHX_DUMP_TEST) ...@@ -44,8 +44,8 @@ MIGRAPHX_DECLARE_ENV_VAR(MIGRAPHX_DUMP_TEST)
// An improved async, that doesn't block // An improved async, that doesn't block
template <class Function> template <class Function>
std::future<typename std::result_of<Function()>::type> detach_async(Function&& f, std::future<typename std::invoke_result_t<Function>> detach_async(Function&& f,
bool parallel = true) bool parallel = true)
{ {
if(parallel) if(parallel)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment