diff options
author | Ingo Klöcker <[email protected]> | 2022-03-28 15:00:25 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2022-03-28 15:22:48 +0000 |
commit | 92139e7b6b5fe84015d44d9516f3e1df7a3fc3bc (patch) | |
tree | b718ddff5725848c41e8cc4e95f42b920f7c7151 | |
parent | doc: Remove bogus documentation (diff) | |
download | gpgme-92139e7b6b5fe84015d44d9516f3e1df7a3fc3bc.tar.gz gpgme-92139e7b6b5fe84015d44d9516f3e1df7a3fc3bc.zip |
cpp: Put local helper function into unnamed namespace
lang/cpp/src/context.cpp (to_auditlog_flags): Wrap in unnamed namespace.
--
GnuPG-bug-id: 5906
-rw-r--r-- | lang/cpp/src/context.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/cpp/src/context.cpp b/lang/cpp/src/context.cpp index 50726816..6d840f06 100644 --- a/lang/cpp/src/context.cpp +++ b/lang/cpp/src/context.cpp @@ -1154,6 +1154,7 @@ Error Context::startCombinedDecryptionAndVerification(const Data &cipherText, Da return startCombinedDecryptionAndVerification(cipherText, plainText, DecryptNone); } +namespace { unsigned int to_auditlog_flags(unsigned int flags) { unsigned int result = 0; @@ -1168,6 +1169,7 @@ unsigned int to_auditlog_flags(unsigned int flags) } return result; } +} Error Context::startGetAuditLog(Data &output, unsigned int flags) { |