runner: initialize COM security, so toast notifications work in elevated context from non-admin account (#5314)

This commit is contained in:
Andrey Nekrasov
2020-08-05 19:06:50 +03:00
committed by GitHub
parent 814f6213fa
commit 59ebe30b72
7 changed files with 97 additions and 78 deletions

View File

@@ -116,19 +116,6 @@ struct typed_storage
}
};
template<typename Callable>
struct on_scope_exit
{
Callable _f;
on_scope_exit(Callable f) :
_f{ std::move(f) } {}
~on_scope_exit()
{
_f();
}
};
template<class... Ts>
struct overloaded : Ts...
{