diff options
author | Ingo Klöcker <[email protected]> | 2020-08-10 09:06:13 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2020-08-10 09:06:13 +0000 |
commit | c813734c9ce0a77f5a9d463a6b16074e522cc2ce (patch) | |
tree | f9254022a48120e154e899543252673c1fd13bb3 /lang/cpp/src/context.cpp | |
parent | cpp: Use cstdlib getenv for portability (diff) | |
download | gpgme-c813734c9ce0a77f5a9d463a6b16074e522cc2ce.tar.gz gpgme-c813734c9ce0a77f5a9d463a6b16074e522cc2ce.zip |
cpp: Make private helper a file static
* lang/cpp/src/context.h, lang/cpp/src/context.cpp
(Context::getLFSeparatedListOfFingerprintsFromSubkeys): Remove
from Context; make it a static function instead
--
GnuPG-bug-id: 5003
Diffstat (limited to 'lang/cpp/src/context.cpp')
-rw-r--r-- | lang/cpp/src/context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/cpp/src/context.cpp b/lang/cpp/src/context.cpp index 6b657f60..7b386801 100644 --- a/lang/cpp/src/context.cpp +++ b/lang/cpp/src/context.cpp @@ -1527,7 +1527,7 @@ Error Context::startCreateSubkey(const Key &k, const char *algo, k.impl(), algo, reserved, expires, flags)); } -std::string Context::getLFSeparatedListOfFingerprintsFromSubkeys(const std::vector<Subkey> &subkeys) +static std::string getLFSeparatedListOfFingerprintsFromSubkeys(const std::vector<Subkey> &subkeys) { if (subkeys.empty()) { return std::string(); |