< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate] Namespace pollution from Contents.hxx


Nuked!

Output from svn command:
Sending        resiprocate/Contents.cxx
Sending        resiprocate/Contents.hxx
Sending        resiprocate/MultipartMixedContents.hxx
Sending        resiprocate/SdpContents.hxx
Sending        resiprocate/SipMessage.hxx
Sending        resiprocate/SipStack.cxx
Sending        resiprocate/TransactionState.cxx
Sending        resiprocate/dum/InviteSession.hxx
Transmitting file data ........
Committed revision 3647.

thanks,
david

Quoting Scott Zuk <szuk@xxxxxxxxxxxxxxx>:

> Hi,
> 
> Can somebody nuke the "using namespace std;" line from Contents.hxx?  It 
> unnecessarily brings std into the global namespace when using resiprocate.
> 
> I've attached a patch that does this, and fixes up the following affected 
> files that were missing the std:: for vector, endl and the like:
> 
> Contents.hxx
> SipMessage.hxx
> MultipartMixedContents.hxx
> SdpContents.hxx
> Helper.cxx
> TransactionState.cxx
> SipStack.cxx
> dum/InviteSession.hxx
> 
> Thanks,
> ~Scott
>