diff options
Diffstat (limited to 'src/lib/hash')
-rw-r--r-- | src/lib/hash/hash.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/hash/hash.h b/src/lib/hash/hash.h index 0f35685d4..08b5d5243 100644 --- a/src/lib/hash/hash.h +++ b/src/lib/hash/hash.h @@ -43,9 +43,8 @@ class BOTAN_DLL HashFunction : public Buffered_Computation /** * @return provider information about this implementation. Default is "base", * might also return "sse2", "avx2", "openssl", or some other arbitrary string. - * The return value is guaranteed to point to a string literal constant. */ - virtual const char* provider() const { return "base"; } + virtual std::string provider() const { return "base"; } HashFunction(); |