diff options
Diffstat (limited to 'ace/QoS_Session_Factory.cpp')
-rw-r--r-- | ace/QoS_Session_Factory.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/ace/QoS_Session_Factory.cpp b/ace/QoS_Session_Factory.cpp index 501833b77e5..4913b800050 100644 --- a/ace/QoS_Session_Factory.cpp +++ b/ace/QoS_Session_Factory.cpp @@ -41,7 +41,7 @@ ACE_QoS_Session_Factory::create_session (ACE_QoS_Session_Type qos_session_type) { delete qos_session; ACE_ERROR_RETURN ((LM_ERROR, - "Error in adding session\n"), + ACE_TEXT ("Error in adding session\n")), 0); } @@ -55,7 +55,7 @@ ACE_QoS_Session_Factory::destroy_session (ACE_QoS_Session *qos_session) if ((qos_session != 0) && (this->remove_session (qos_session) == -1)) ACE_ERROR_RETURN ((LM_ERROR, - "Error in destroying session\n"), + ACE_TEXT ("Error in destroying session\n")), -1); return 0; @@ -68,20 +68,22 @@ ACE_QoS_Session_Factory::add_session (ACE_QoS_Session *qos_session) { if (this->qos_session_set_.insert (qos_session) != 0) ACE_ERROR_RETURN ((LM_ERROR, - "Error in adding a new session to the session set\n"), + ACE_TEXT ("Error in adding a new session") + ACE_TEXT ("to the session set\n")), -1); return 0; } -// Remove a session from the set of sessions created by this factory. This is a -// private method called by the destroy_session (). +// Remove a session from the set of sessions created by this factory. This is +// a private method called by the destroy_session (). int ACE_QoS_Session_Factory::remove_session (ACE_QoS_Session *qos_session) { if (this->qos_session_set_.remove (qos_session) == -1) ACE_ERROR_RETURN ((LM_ERROR, - "Error in removing a session from the session set\n"), + ACE_TEXT ("Error in removing a session") + ACE_TEXT ("from the session set\n")), -1); return 0; |