diff options
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; } |