aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/context.cpp
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2020-08-10 09:06:13 +0000
committerIngo Klöcker <[email protected]>2020-08-10 09:06:13 +0000
commitc813734c9ce0a77f5a9d463a6b16074e522cc2ce (patch)
treef9254022a48120e154e899543252673c1fd13bb3 /lang/cpp/src/context.cpp
parentcpp: Use cstdlib getenv for portability (diff)
downloadgpgme-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.cpp2
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();