diff --git a/src/openrct2-ui/Ui.cpp b/src/openrct2-ui/Ui.cpp index 64e7ffa5b7..098bce8150 100644 --- a/src/openrct2-ui/Ui.cpp +++ b/src/openrct2-ui/Ui.cpp @@ -31,12 +31,6 @@ using namespace OpenRCT2; using namespace OpenRCT2::Audio; using namespace OpenRCT2::Ui; -template -static std::shared_ptr ToShared(std::unique_ptr&& src) -{ - return std::shared_ptr(std::move(src)); -} - /** * Main entry point for non-Windows systems. Windows instead uses its own DLL proxy. */