summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/lib/util/hash.cpp14
-rw-r--r--src/lib/util/hash.h6
2 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/util/hash.cpp b/src/lib/util/hash.cpp
index 4593ad181a4..ddb6f52ac5c 100644
--- a/src/lib/util/hash.cpp
+++ b/src/lib/util/hash.cpp
@@ -20,15 +20,15 @@ namespace util {
// GLOBAL VARIABLES
//**************************************************************************
-const char hash_collection::HASH_CRC;
-const char hash_collection::HASH_SHA1;
+char const hash_collection::HASH_CRC;
+char const hash_collection::HASH_SHA1;
-const char *hash_collection::HASH_TYPES_CRC = "R";
-const char *hash_collection::HASH_TYPES_CRC_SHA1 = "RS";
-const char *hash_collection::HASH_TYPES_ALL = "RS";
+char const *const hash_collection::HASH_TYPES_CRC = "R";
+char const *const hash_collection::HASH_TYPES_CRC_SHA1 = "RS";
+char const *const hash_collection::HASH_TYPES_ALL = "RS";
-const char hash_collection::FLAG_NO_DUMP;
-const char hash_collection::FLAG_BAD_DUMP;
+char const hash_collection::FLAG_NO_DUMP;
+char const hash_collection::FLAG_BAD_DUMP;
diff --git a/src/lib/util/hash.h b/src/lib/util/hash.h
index cb87f3f8b3c..98a851bfd60 100644
--- a/src/lib/util/hash.h
+++ b/src/lib/util/hash.h
@@ -46,9 +46,9 @@ public:
static constexpr char HASH_SHA1 = 'S';
// common combinations for requests
- static const char *HASH_TYPES_CRC;
- static const char *HASH_TYPES_CRC_SHA1;
- static const char *HASH_TYPES_ALL;
+ static char const *const HASH_TYPES_CRC;
+ static char const *const HASH_TYPES_CRC_SHA1;
+ static char const *const HASH_TYPES_ALL;
// flags are identified by punctuation marks
static constexpr char FLAG_NO_DUMP = '!';