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
This commit is contained in:
parent
0676d41ef5
commit
c813734c9c
@ -1527,7 +1527,7 @@ Error Context::startCreateSubkey(const Key &k, const char *algo,
|
|||||||
k.impl(), algo, reserved, expires, flags));
|
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()) {
|
if (subkeys.empty()) {
|
||||||
return std::string();
|
return std::string();
|
||||||
|
@ -500,8 +500,6 @@ private:
|
|||||||
// on the "Friendlyness" of context to access the gpgme types.
|
// on the "Friendlyness" of context to access the gpgme types.
|
||||||
gpgme_key_t *getKeysFromRecipients(const std::vector<Key> &recipients);
|
gpgme_key_t *getKeysFromRecipients(const std::vector<Key> &recipients);
|
||||||
|
|
||||||
std::string getLFSeparatedListOfFingerprintsFromSubkeys(const std::vector<Subkey> &subkeys);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Private *const d;
|
Private *const d;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user