From 86844d2a5701bcaa0416c26b63f105a6699bcbdd Mon Sep 17 00:00:00 2001 From: babywashbear <55874030+babywashbear@users.noreply.github.com> Date: Tue, 29 Oct 2019 17:41:49 +0100 Subject: [PATCH] Context: replace 2nd std::make_unique with CreateContext call (#10139) --- src/openrct2/Context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2/Context.cpp b/src/openrct2/Context.cpp index 05c57f880e..d4042739e2 100644 --- a/src/openrct2/Context.cpp +++ b/src/openrct2/Context.cpp @@ -1088,7 +1088,7 @@ namespace OpenRCT2 std::unique_ptr CreateContext() { - return std::make_unique(CreatePlatformEnvironment(), CreateDummyAudioContext(), CreateDummyUiContext()); + return CreateContext(CreatePlatformEnvironment(), CreateDummyAudioContext(), CreateDummyUiContext()); } std::unique_ptr CreateContext(