cpp: Put local helper function into unnamed namespace
lang/cpp/src/context.cpp (to_auditlog_flags): Wrap in unnamed namespace. -- GnuPG-bug-id: 5906
This commit is contained in:
parent
ff3c93881a
commit
92139e7b6b
@ -1154,6 +1154,7 @@ Error Context::startCombinedDecryptionAndVerification(const Data &cipherText, Da
|
|||||||
return startCombinedDecryptionAndVerification(cipherText, plainText, DecryptNone);
|
return startCombinedDecryptionAndVerification(cipherText, plainText, DecryptNone);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
namespace {
|
||||||
unsigned int to_auditlog_flags(unsigned int flags)
|
unsigned int to_auditlog_flags(unsigned int flags)
|
||||||
{
|
{
|
||||||
unsigned int result = 0;
|
unsigned int result = 0;
|
||||||
@ -1168,6 +1169,7 @@ unsigned int to_auditlog_flags(unsigned int flags)
|
|||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Error Context::startGetAuditLog(Data &output, unsigned int flags)
|
Error Context::startGetAuditLog(Data &output, unsigned int flags)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user