[reSIProcate] Namespace pollution from Contents.hxx

david Butcher david at purplecomm.com
Sun Nov 28 16:06:50 CST 2004


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 at telusplanet.net>:

> 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
> 





More information about the resiprocate-devel mailing list