From 6cadd8dc365afa89c2872f1f37af1626643850d0 Mon Sep 17 00:00:00 2001 From: Andrea Odetti Date: Tue, 8 Jun 2021 18:24:12 +0100 Subject: [PATCH] Remove useless ".c_str()" Signed-off-by: Andrea Odetti --- source/frontends/sdl/imgui/sdlsettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/frontends/sdl/imgui/sdlsettings.cpp b/source/frontends/sdl/imgui/sdlsettings.cpp index ba897565..1d4397b8 100644 --- a/source/frontends/sdl/imgui/sdlsettings.cpp +++ b/source/frontends/sdl/imgui/sdlsettings.cpp @@ -590,7 +590,7 @@ namespace sa2 if (ImGui::RadioButton("Uthernet I", tfe_enabled == 1)) { saveTFEEnabled(1); } ImGui::SameLine(); if (ImGui::RadioButton("Uthernet II", tfe_enabled == 2)) { saveTFEEnabled(2); } - const std::string current_interface = get_tfe_interface().c_str(); + const std::string current_interface = get_tfe_interface(); if (ImGui::BeginCombo("Interface", current_interface.c_str())) {