diff options
author | dbear496 <70439542+dbear496@users.noreply.github.com> | 2024-09-14 18:21:29 -0400 |
---|---|---|
committer | dbear496 <70439542+dbear496@users.noreply.github.com> | 2024-09-14 18:21:29 -0400 |
commit | 5320c9f719a309ddacdbe77181cabeb351949013 (patch) | |
tree | 80cc98dc8deee853dfb1b76371c745fa286ae9e1 /src/utils.h | |
parent | 4f4cc1688a8e8a7c03f18603cc5a4159d9c89ca3 (diff) | |
download | fork-ledger-5320c9f719a309ddacdbe77181cabeb351949013.tar.gz fork-ledger-5320c9f719a309ddacdbe77181cabeb351949013.tar.bz2 fork-ledger-5320c9f719a309ddacdbe77181cabeb351949013.zip |
use sha1sum in anonymize_posts::operator()
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.h b/src/utils.h index e09c603d..13cf26f6 100644 --- a/src/utils.h +++ b/src/utils.h @@ -604,7 +604,7 @@ inline string sha1sum( const string& str, size_t len = sizeof(boost::uuids::detail::sha1::digest_type) * 2 ) { - boost::uuids::detail::sha1 sha; + static boost::uuids::detail::sha1 sha; boost::uuids::detail::sha1::digest_type message_digest; sha.reset(); |