diff options
author | Saturneric <[email protected]> | 2023-07-13 12:03:32 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2023-07-13 12:03:32 +0000 |
commit | d6110b5bab1ee4aaa982930a3554946462edc6eb (patch) | |
tree | 3fd9de3c497c7b02691de0feb8b044ccadf0c354 /src/core/function/gpg/GpgKeyManager.h | |
parent | fix: sole compile issue in linux platform (diff) | |
download | GpgFrontend-d6110b5bab1ee4aaa982930a3554946462edc6eb.tar.gz GpgFrontend-d6110b5bab1ee4aaa982930a3554946462edc6eb.zip |
fix: solve compile issues
Diffstat (limited to 'src/core/function/gpg/GpgKeyManager.h')
-rw-r--r-- | src/core/function/gpg/GpgKeyManager.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/function/gpg/GpgKeyManager.h b/src/core/function/gpg/GpgKeyManager.h index f967dee7..62f7baca 100644 --- a/src/core/function/gpg/GpgKeyManager.h +++ b/src/core/function/gpg/GpgKeyManager.h @@ -99,13 +99,13 @@ class GPGFRONTEND_CORE_EXPORT GpgKeyManager using Command = std::string; using AutomatonState = enum { - START, - COMMAND, - VALUE, - REALLY_ULTIMATE, - SAVE, - ERROR, - QUIT, + AS_START, + AS_COMMAND, + AS_VALUE, + AS_REALLY_ULTIMATE, + AS_SAVE, + AS_ERROR, + AS_QUIT, }; struct AutomatonHandelStruct; @@ -137,7 +137,7 @@ class GPGFRONTEND_CORE_EXPORT GpgKeyManager AutomatonHandelStruct(std::string key_fpr) : key_fpr_(key_fpr) {} private: - AutomatonState current_state_ = START; + AutomatonState current_state_ = AS_START; AutomatonNextStateHandler next_state_handler_; AutomatonActionHandler action_handler_; bool success_ = false; |