summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/ModelIndex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGUI/ModelIndex.cpp')
-rw-r--r--Userland/Libraries/LibGUI/ModelIndex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/ModelIndex.cpp b/Userland/Libraries/LibGUI/ModelIndex.cpp
index e095764d4d..a9d3f82910 100644
--- a/Userland/Libraries/LibGUI/ModelIndex.cpp
+++ b/Userland/Libraries/LibGUI/ModelIndex.cpp
@@ -19,7 +19,7 @@ Variant ModelIndex::data(ModelRole role) const
return model()->data(*this, role);
}
-bool ModelIndex::is_parent_of(const ModelIndex& child) const
+bool ModelIndex::is_parent_of(ModelIndex const& child) const
{
auto current_index = child.parent();
while (current_index.is_valid()) {