summaryrefslogtreecommitdiff
path: root/src/utils/sha256.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/sha256.h')
-rw-r--r--src/utils/sha256.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/utils/sha256.h b/src/utils/sha256.h
index 54bb92f3c..a2a852614 100644
--- a/src/utils/sha256.h
+++ b/src/utils/sha256.h
@@ -25,12 +25,14 @@
#include <string>
+#include "localconsts.h"
+
/**
* Returns the SHA-256 hash for the given string.
*
* @param string the string to create the SHA-256 hash for
* @return the SHA-256 hash for the given string.
*/
-std::string sha256(const std::string &string);
+std::string sha256(const std::string &string) A_WARN_UNUSED;
#endif // UTILS_SHA256_H