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/module/GlobalModuleContext.cpp | |
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/module/GlobalModuleContext.cpp')
-rw-r--r-- | src/core/module/GlobalModuleContext.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/module/GlobalModuleContext.cpp b/src/core/module/GlobalModuleContext.cpp index 88250a1e..9eddb57a 100644 --- a/src/core/module/GlobalModuleContext.cpp +++ b/src/core/module/GlobalModuleContext.cpp @@ -52,8 +52,8 @@ class GlobalModuleContext::Impl { .total_milliseconds()), default_task_runner_(std::move(task_runner)) { // Initialize acquired channels with default values. - acquired_channel_.insert(kGpgfrontendDefaultChannel); - acquired_channel_.insert(kGpgfrontendNonAsciiChannel); + acquired_channel_.insert(kGpgFrontendDefaultChannel); + acquired_channel_.insert(kGpgFrontendNonAsciiChannel); } auto GetChannel(ModuleRawPtr module) -> int { @@ -74,7 +74,7 @@ class GlobalModuleContext::Impl { } static auto GetDefaultChannel(ModuleRawPtr) -> int { - return kGpgfrontendDefaultChannel; + return kGpgFrontendDefaultChannel; } auto GetTaskRunner(ModuleRawPtr module) -> std::optional<TaskRunnerPtr> { |