diff options
author | Saturneric <[email protected]> | 2022-05-20 18:10:54 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-05-20 18:10:54 +0000 |
commit | e4e8e0308cf109fd317a1f3f79b78dda413ada13 (patch) | |
tree | 17e2d37ee8048789f329a26277a671d77d353fe9 /src/core/GpgFunctionObject.h | |
parent | feat: track pending tasks in task runner system (diff) | |
download | GpgFrontend-e4e8e0308cf109fd317a1f3f79b78dda413ada13.tar.gz GpgFrontend-e4e8e0308cf109fd317a1f3f79b78dda413ada13.zip |
fix: remove useless log in Channel system
Diffstat (limited to '')
-rw-r--r-- | src/core/GpgFunctionObject.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/core/GpgFunctionObject.h b/src/core/GpgFunctionObject.h index 7d82ec89..de27ea42 100644 --- a/src/core/GpgFunctionObject.h +++ b/src/core/GpgFunctionObject.h @@ -180,10 +180,8 @@ class SingletonFunctionObject : public ChannelObject { if (_p_pbj == nullptr) { auto new_obj = std::unique_ptr<ChannelObject>(new T(channel)); - LOG(TRACE) << "create new object" << new_obj.get(); return *(T*)(p_storage->SetObjectInChannel(channel, std::move(new_obj))); } else { - LOG(TRACE) << "saved object address" << _p_pbj; return *_p_pbj; } } @@ -281,10 +279,7 @@ class SingletonFunctionObject : public ChannelObject { * * @param channel */ - explicit SingletonFunctionObject(int channel) : ChannelObject(channel) { - LOG(TRACE) << "called" - << "channel:" << channel; - } + explicit SingletonFunctionObject(int channel) : ChannelObject(channel) {} /** * @brief Destroy the Singleton Function Object object |