[Bf-blender-cvs] [c5b67975cd1] master: Cleanup: Fix range loop construct warning
Hans Goudey
noreply at git.blender.org
Thu May 12 18:19:50 CEST 2022
Commit: c5b67975cd197e6387809ed3a517f39dfb42163b
Author: Hans Goudey
Date: Thu May 12 16:19:45 2022 +0200
Branches: master
https://developer.blender.org/rBc5b67975cd197e6387809ed3a517f39dfb42163b
Cleanup: Fix range loop construct warning
===================================================================
M intern/ghost/intern/GHOST_SystemWayland.cpp
===================================================================
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;
More information about the Bf-blender-cvs
mailing list