Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/WolfireGames/overgrowth.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Source/GUI/dimgui/dimgui.cpp')
-rw-r--r--Source/GUI/dimgui/dimgui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/GUI/dimgui/dimgui.cpp b/Source/GUI/dimgui/dimgui.cpp
index 47190d8c..a6176f40 100644
--- a/Source/GUI/dimgui/dimgui.cpp
+++ b/Source/GUI/dimgui/dimgui.cpp
@@ -4029,7 +4029,7 @@ Mark Stockton\nMikko Tarmia");
if(ImGui::TreeNode("Peer debug info")) {
auto peers = online->GetPeers();
- for(auto peer : peers) {
+ for(const auto& peer : peers) {
ImGui::Text("Connection ID: %d", peer.conn_id);
ImGui::Text("Peer ID: %d", peer.peer_id);
ImGui::Separator();