aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/GpgFunctionObject.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-05-20 18:10:54 +0000
committerSaturneric <[email protected]>2022-05-20 18:10:54 +0000
commite4e8e0308cf109fd317a1f3f79b78dda413ada13 (patch)
tree17e2d37ee8048789f329a26277a671d77d353fe9 /src/core/GpgFunctionObject.h
parentfeat: track pending tasks in task runner system (diff)
downloadGpgFrontend-e4e8e0308cf109fd317a1f3f79b78dda413ada13.tar.gz
GpgFrontend-e4e8e0308cf109fd317a1f3f79b78dda413ada13.zip
fix: remove useless log in Channel system
Diffstat (limited to '')
-rw-r--r--src/core/GpgFunctionObject.h7
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