summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCore/SecretString.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibCore/SecretString.h')
-rw-r--r--Userland/Libraries/LibCore/SecretString.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCore/SecretString.h b/Userland/Libraries/LibCore/SecretString.h
index 865542ff7c..f6440eb285 100644
--- a/Userland/Libraries/LibCore/SecretString.h
+++ b/Userland/Libraries/LibCore/SecretString.h
@@ -21,7 +21,7 @@ public:
[[nodiscard]] bool is_empty() const { return m_secure_buffer.is_empty(); }
[[nodiscard]] size_t length() const { return m_secure_buffer.size(); }
- [[nodiscard]] char const* characters() const { return reinterpret_cast<const char*>(m_secure_buffer.data()); }
+ [[nodiscard]] char const* characters() const { return reinterpret_cast<char const*>(m_secure_buffer.data()); }
[[nodiscard]] StringView view() const { return { characters(), length() }; }
SecretString() = default;