aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/module/GlobalModuleContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/module/GlobalModuleContext.cpp')
-rw-r--r--src/core/module/GlobalModuleContext.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/module/GlobalModuleContext.cpp b/src/core/module/GlobalModuleContext.cpp
index caf04aff..cb459f65 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(GPGFRONTEND_DEFAULT_CHANNEL);
- acquired_channel_.insert(GPGFRONTEND_NON_ASCII_CHANNEL);
+ 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 GPGFRONTEND_DEFAULT_CHANNEL;
+ return kGpgfrontendDefaultChannel;
}
auto GetTaskRunner(ModuleRawPtr module) -> std::optional<TaskRunnerPtr> {