# HG changeset patch
# User Teemu Piippo <teemu@hecknology.net>
# Date 1612527796 -7200
# Node ID 9108902926391f7c29bb891a07ca34e3df632c7a
# Parent  43ce3672648a9f2ea254b5814fad14407277fcee
added references to items()

diff -r 43ce3672648a -r 910890292639 src/main.h
--- a/src/main.h	Tue Jan 26 18:02:17 2021 +0200
+++ b/src/main.h	Fri Feb 05 14:23:16 2021 +0200
@@ -168,7 +168,7 @@
 	MapItemsIterator(Ts&&... args) : IteratorType{args...} {}
 	auto operator*() const
 	{
-		return KeyValuePair<K, V>{this->key(), this->value()};
+		return KeyValuePair<const K&, V&>{this->key(), this->value()};
 	}
 };