diff options
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(); |