Remove useless ".c_str()"

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
Andrea Odetti 2021-06-08 18:24:12 +01:00
parent 3617b0d5c5
commit 6cadd8dc36

View file

@ -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()))
{