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 &subkeys) +static std::string getLFSeparatedListOfFingerprintsFromSubkeys(const std::vector &subkeys) { if (subkeys.empty()) { return std::string(); diff --git a/lang/cpp/src/context.h b/lang/cpp/src/context.h index ebf5adb2..9cd35a5c 100644 --- a/lang/cpp/src/context.h +++ b/lang/cpp/src/context.h @@ -500,8 +500,6 @@ private: // on the "Friendlyness" of context to access the gpgme types. gpgme_key_t *getKeysFromRecipients(const std::vector &recipients); - std::string getLFSeparatedListOfFingerprintsFromSubkeys(const std::vector &subkeys); - private: Private *const d;