diff options
author | Hans Goudey <h.goudey@me.com> | 2022-05-12 17:19:45 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-05-12 18:51:03 +0300 |
commit | c5b67975cd197e6387809ed3a517f39dfb42163b (patch) | |
tree | fbdaaeed6f1becf17b3ddab757d893879ee8cb19 | |
parent | d634194cac456444f6c2db3e42da68b60a6306b1 (diff) |
Cleanup: Fix range loop construct warning
-rw-r--r-- | intern/ghost/intern/GHOST_SystemWayland.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_SystemWayland.cpp b/intern/ghost/intern/GHOST_SystemWayland.cpp index 6f694bfd9a6..dae3d578fa0 100644 --- a/intern/ghost/intern/GHOST_SystemWayland.cpp +++ b/intern/ghost/intern/GHOST_SystemWayland.cpp @@ -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; |