diff --git a/apps/callback/CallBack.cpp b/apps/callback/CallBack.cpp index c64fcc06..23082445 100644 --- a/apps/callback/CallBack.cpp +++ b/apps/callback/CallBack.cpp @@ -181,7 +181,7 @@ void CallBackFactory::run() { vector todo; time_t now; time(&now); - multimap::iterator it = + std::multimap::iterator it = scheduled_calls.begin(); while (it != scheduled_calls.end()) { if (it->first > now) diff --git a/apps/callback/CallBack.h b/apps/callback/CallBack.h index 5a464268..4ec327df 100644 --- a/apps/callback/CallBack.h +++ b/apps/callback/CallBack.h @@ -57,7 +57,7 @@ class CallBackFactory regex_t accept_caller_re; - multimap scheduled_calls; + std::multimap scheduled_calls; AmMutex scheduled_calls_mut; // seconds to wait before calling back int cb_wait; diff --git a/apps/ivr/Ivr.h b/apps/ivr/Ivr.h index 48593216..50aa811d 100644 --- a/apps/ivr/Ivr.h +++ b/apps/ivr/Ivr.h @@ -101,7 +101,7 @@ class IvrFactory: public AmSessionFactory IvrDialog* newDlg(const string& name); - queue deferred_threads; + std::queue deferred_threads; void start_deferred_threads(); public: diff --git a/apps/sw_prepaid_sip/SWPrepaidSIP.cpp b/apps/sw_prepaid_sip/SWPrepaidSIP.cpp index 3b77c1d5..ed31a5d3 100644 --- a/apps/sw_prepaid_sip/SWPrepaidSIP.cpp +++ b/apps/sw_prepaid_sip/SWPrepaidSIP.cpp @@ -184,7 +184,7 @@ void SWPrepaidSIPDialog::onInvite(const AmSipRequest& req) invite_req = req; dlg.updateStatus(req); - recvd_req.insert(make_pair(req.cseq,req)); + recvd_req.insert(std::make_pair(req.cseq,req)); connectCallee("<" + m_ruri + ">", m_proxy + ";sw_prepaid", true); sip_relay_only = true; diff --git a/apps/voicemail/AnswerMachine.cpp b/apps/voicemail/AnswerMachine.cpp index 93c8d1a5..7b0109da 100644 --- a/apps/voicemail/AnswerMachine.cpp +++ b/apps/voicemail/AnswerMachine.cpp @@ -483,7 +483,7 @@ AmSession* AnswerMachineFactory::onInvite(const AmSipRequest& req) if(email.empty()) throw AmSession::Exception(404,"missing email address"); - map::iterator tmpl_it; + std::map::iterator tmpl_it; if (!language.empty()) { tmpl_it = email_tmpl.find(req.domain + "_" + language); if(tmpl_it == email_tmpl.end()) { diff --git a/apps/voicemail/AnswerMachine.h b/apps/voicemail/AnswerMachine.h index 93e84da0..963108cf 100644 --- a/apps/voicemail/AnswerMachine.h +++ b/apps/voicemail/AnswerMachine.h @@ -46,7 +46,7 @@ class AmMail; /** \brief Factory for voicemail sessions */ class AnswerMachineFactory: public AmSessionFactory { - map email_tmpl; + std::map email_tmpl; int getEmailAddress(); diff --git a/apps/webconference/WebConference.cpp b/apps/webconference/WebConference.cpp index b28428a9..324bd231 100644 --- a/apps/webconference/WebConference.cpp +++ b/apps/webconference/WebConference.cpp @@ -129,7 +129,7 @@ int WebConferenceFactory::onLoad() string feedback_filename = cfg.getParameter("feedback_file"); if (!feedback_filename.empty()) { - feedback_file.open(feedback_filename.c_str(), ios::out); + feedback_file.open(feedback_filename.c_str(), std::ios::out); if (!feedback_file.good()) { ERROR("opening feedback file '%s'\n", feedback_filename.c_str()); @@ -514,7 +514,7 @@ void WebConferenceFactory::resetFeedback(const AmArg& args, AmArg& ret) { feedback_file.close(); if (!feedback_filename.empty()) { - feedback_file.open(feedback_filename.c_str(), ios::out); + feedback_file.open(feedback_filename.c_str(), std::ios::out); if (!feedback_file.good()) { ERROR("opening new feedback file '%s'\n", feedback_filename.c_str());