diff options
author | Saturneric <[email protected]> | 2023-10-25 07:40:43 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2023-10-25 07:40:43 +0000 |
commit | a23b2fbc707406dec0dd924c089b4285bc7f0010 (patch) | |
tree | 7773e4a3e45a26a38735450f065c637e170f202d /src/core/GpgFunctionObject.h | |
parent | feat: use module instead of integrated code at version checking task (diff) | |
download | GpgFrontend-a23b2fbc707406dec0dd924c089b4285bc7f0010.tar.gz GpgFrontend-a23b2fbc707406dec0dd924c089b4285bc7f0010.zip |
feat: use rt listen publish event function in main windows' app version upgrade notification
Diffstat (limited to 'src/core/GpgFunctionObject.h')
-rw-r--r-- | src/core/GpgFunctionObject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/GpgFunctionObject.h b/src/core/GpgFunctionObject.h index 37315b68..7a26828a 100644 --- a/src/core/GpgFunctionObject.h +++ b/src/core/GpgFunctionObject.h @@ -225,7 +225,7 @@ class SingletonFunctionObject : public ChannelObject { if (_p_pbj == nullptr) { return *( - T*)(p_storage->SetObjectInChannel(channel, std::move(factory()))); + T*)(p_storage->SetObjectInChannel(channel, factory())); } else return *_p_pbj; } |