summaryrefslogtreecommitdiff
path: root/AK
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-09 05:38:13 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-09 05:40:04 +0100
commitceb373cf7167b9aed29bf34d847eecf8be778ab7 (patch)
tree4ddbda6e57304eceec031ea910141d7cecc1fc76 /AK
parent7577ee0c67fac05ecacda2658724eb75381e1a01 (diff)
downloadserenity-ceb373cf7167b9aed29bf34d847eecf8be778ab7.zip
More window manager hacking. FocusIn/FocusOut events.
Diffstat (limited to 'AK')
-rw-r--r--AK/AKString.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/AKString.h b/AK/AKString.h
index 2f0a3e4b7a..54225a3176 100644
--- a/AK/AKString.h
+++ b/AK/AKString.h
@@ -65,9 +65,9 @@ public:
bool is_null() const { return !m_impl; }
bool is_empty() const { return length() == 0; }
- unsigned length() const { return m_impl ? m_impl->length() : 0; }
+ size_t length() const { return m_impl ? m_impl->length() : 0; }
const char* characters() const { return m_impl ? m_impl->characters() : nullptr; }
- char operator[](unsigned i) const { ASSERT(m_impl); return (*m_impl)[i]; }
+ char operator[](size_t i) const { ASSERT(m_impl); return (*m_impl)[i]; }
bool operator==(const String&) const;
bool operator!=(const String& other) const { return !(*this == other); }