Skip to content

Commit 4efd832

Browse files
committed
wxCStrData need to be explicitly converted
1 parent 18ab039 commit 4efd832

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TAO/utils/wxNamingViewer/wxSelectNSDialog.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,10 @@ void WxSelectNSDialog::onAdd( wxCommandEvent& WXUNUSED(event))
162162
dialog->getServerName(),
163163
new wxString( dialog->getIor()));
164164
ACE_Configuration_Section_Key section = config->root_section();
165-
ACE_TString value = dialog->getIor().c_str();
165+
ACE_TString value = dialog->getIor().c_str().AsChar();
166166
config->set_string_value(
167167
section,
168-
dialog->getServerName().c_str(),
168+
dialog->getServerName().c_str().AsChar(),
169169
value);
170170
}
171171
}

0 commit comments

Comments
 (0)