diff options
author | saturneric <[email protected]> | 2023-12-06 13:10:48 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2023-12-06 13:18:07 +0000 |
commit | a0f0fd98efa12ef33959badcc25ff568e8b242b4 (patch) | |
tree | 860563fdbfe353e57724b08c4eb30dc03d5f8a7d /src/core/function/basic/GpgFunctionObject.h | |
parent | feat: convert basic opera to async style (diff) | |
download | GpgFrontend-a0f0fd98efa12ef33959badcc25ff568e8b242b4.tar.gz GpgFrontend-a0f0fd98efa12ef33959badcc25ff568e8b242b4.zip |
feat: move test to src and add submodule googletest
Diffstat (limited to 'src/core/function/basic/GpgFunctionObject.h')
-rw-r--r-- | src/core/function/basic/GpgFunctionObject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/function/basic/GpgFunctionObject.h b/src/core/function/basic/GpgFunctionObject.h index 619cad04..dd06608d 100644 --- a/src/core/function/basic/GpgFunctionObject.h +++ b/src/core/function/basic/GpgFunctionObject.h @@ -64,7 +64,7 @@ class SingletonFunctionObject : public ChannelObject { * @param channel * @return T& */ - static auto GetInstance(int channel = GpgFrontend::kGpgfrontendDefaultChannel) + static auto GetInstance(int channel = GpgFrontend::kGpgFrontendDefaultChannel) -> T& { static std::mutex g_channel_mutex_map_lock; static std::map<int, std::mutex> g_channel_mutex_map; |