aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.h b/lib/util.h
index 1cb1c0e1..9efda5d1 100644
--- a/lib/util.h
+++ b/lib/util.h
@@ -160,7 +160,7 @@ template <typename ImplType, typename TypeToDelete = ImplType, typename... ArgTs
inline ImplPtr<ImplType, TypeToDelete> makeImpl(ArgTs&&... args)
{
return ImplPtr<ImplType, TypeToDelete> {
- new ImplType(std::forward<ArgTs>(args)...),
+ new ImplType{std::forward<ArgTs>(args)...},
[](TypeToDelete* impl) { delete impl; }
};
}