From 4efd8320af9a53c436276b6bf2e65fb75a6b859b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Cie=C5=9Blak?= Date: Mon, 27 Nov 2023 01:38:42 +0100 Subject: [PATCH] wxCStrData need to be explicitly converted --- TAO/utils/wxNamingViewer/wxSelectNSDialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TAO/utils/wxNamingViewer/wxSelectNSDialog.cpp b/TAO/utils/wxNamingViewer/wxSelectNSDialog.cpp index f4ee2ea170837..03a13e1220c9b 100644 --- a/TAO/utils/wxNamingViewer/wxSelectNSDialog.cpp +++ b/TAO/utils/wxNamingViewer/wxSelectNSDialog.cpp @@ -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); } }