summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibSQL/Tuple.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibSQL/Tuple.cpp')
-rw-r--r--Userland/Libraries/LibSQL/Tuple.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibSQL/Tuple.cpp b/Userland/Libraries/LibSQL/Tuple.cpp
index 58a96fabe8..fbaa7bed7e 100644
--- a/Userland/Libraries/LibSQL/Tuple.cpp
+++ b/Userland/Libraries/LibSQL/Tuple.cpp
@@ -231,8 +231,8 @@ int Tuple::compare(Tuple const& other) const
int Tuple::match(Tuple const& other) const
{
auto other_index = 0u;
- for (auto& part : *other.descriptor()) {
- auto other_value = other[other_index];
+ for (auto const& part : *other.descriptor()) {
+ auto const& other_value = other[other_index];
if (other_value.is_null())
return 0;
auto my_index = index_of(part.name);