Cleanup: Fix range loop construct warning

This commit is contained in:
Hans Goudey 2022-05-12 16:19:45 +02:00
parent d634194cac
commit c5b67975cd
1 changed files with 1 additions and 1 deletions

View File

@ -761,7 +761,7 @@ static void data_device_selection(void *data,
input->data_offer_copy_paste = data_offer;
std::string mime_receive;
for (const std::string &type : {mime_text_utf8, mime_text_plain}) {
for (const std::string type : {mime_text_utf8, mime_text_plain}) {
if (data_offer->types.count(type)) {
mime_receive = type;
break;