Skip to content

Commit

Permalink
wxCStrData need to be explicitly converted
Browse files Browse the repository at this point in the history
  • Loading branch information
saper committed Nov 27, 2023
1 parent 18ab039 commit 4efd832
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TAO/utils/wxNamingViewer/wxSelectNSDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,10 @@ void WxSelectNSDialog::onAdd( wxCommandEvent& WXUNUSED(event))
dialog->getServerName(),
new wxString( dialog->getIor()));
ACE_Configuration_Section_Key section = config->root_section();
ACE_TString value = dialog->getIor().c_str();
ACE_TString value = dialog->getIor().c_str().AsChar();
config->set_string_value(
section,
dialog->getServerName().c_str(),
dialog->getServerName().c_str().AsChar(),
value);
}
}
Expand Down

0 comments on commit 4efd832

Please sign in to comment.