diff options
Diffstat (limited to 'src/Cache_p.h')
-rw-r--r-- | src/Cache_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Cache_p.h b/src/Cache_p.h index d1316ae5..24ea2939 100644 --- a/src/Cache_p.h +++ b/src/Cache_p.h @@ -291,9 +291,9 @@ public: void deleteBackupVersion(); std::optional<OnlineBackupVersion> backupVersion(); - void storeSecret(const std::string &name, const std::string &secret, bool internal = false); - void deleteSecret(const std::string &name, bool internal = false); - std::optional<std::string> secret(const std::string &name, bool internal = false); + void storeSecret(std::string_view name, const std::string &secret, bool internal = false); + void deleteSecret(std::string_view name, bool internal = false); + std::optional<std::string> secret(std::string_view name, bool internal = false); std::string pickleSecret(); |