diff options
author | Chris Robinson <[email protected]> | 2023-01-13 01:25:20 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-01-13 01:25:20 -0800 |
commit | 974d1b9e6d174f1680604b2872911110f6a0e41c (patch) | |
tree | 8dd9517957717b82977e433276a14b9892b3d563 /core/helpers.cpp | |
parent | 97f2c28ddd79474e163f62d666fc8ce555f31e0f (diff) |
Avoid unnecessary uses of make_optional
Diffstat (limited to 'core/helpers.cpp')
-rw-r--r-- | core/helpers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/helpers.cpp b/core/helpers.cpp index 1670561a..99cf009c 100644 --- a/core/helpers.cpp +++ b/core/helpers.cpp @@ -51,7 +51,7 @@ const PathNamePair &GetProcBinary() if(len == 0) { ERR("Failed to get process name: error %lu\n", GetLastError()); - procbin = al::make_optional<PathNamePair>(); + procbin.emplace(); return *procbin; } |