diff --git a/src/main.cpp b/src/main.cpp index bbd955814..f48034647 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -35,11 +35,11 @@ int main(int argc, char **argv) QCoreApplication::setApplicationVersion(CHATTERINO_VERSION); QCoreApplication::setOrganizationDomain("chatterino.com"); - Paths *paths{}; + std::unique_ptr paths; try { - paths = new Paths; + paths = std::make_unique(); } catch (std::runtime_error &error) {