aboutsummaryrefslogtreecommitdiffstats
path: root/src/inspstring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspstring.cpp')
-rw-r--r--src/inspstring.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspstring.cpp b/src/inspstring.cpp
index e0d0ed296..19fea55b3 100644
--- a/src/inspstring.cpp
+++ b/src/inspstring.cpp
@@ -134,7 +134,7 @@ std::string Base64::Encode(const void* data, size_t length, const char* table, c
buffer.push_back(table[(triple >> 0 * 6) & 63]);
}
- static const size_t padding_count[] = { 0, 2, 1 };
+ static constexpr size_t padding_count[] = { 0, 2, 1 };
if (padding)
{
// Replace any trailing characters with padding.