From 1082c44de0fadd3eb45a697c55c9b67603ae7a19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Bri=C3=A8re?= Date: Wed, 5 Oct 2016 19:53:54 -0400 Subject: Disambiguate reference to ::bind() There's a potential ambiguity between ::bind() and std::bind() if happens to be included beforehand (as is the case with libc++). --- src/stun/udp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stun') diff --git a/src/stun/udp.cxx b/src/stun/udp.cxx index 7a75134..1472b13 100644 --- a/src/stun/udp.cxx +++ b/src/stun/udp.cxx @@ -64,7 +64,7 @@ openPort( unsigned short port, unsigned int interfaceIp, bool verbose ) } } - if ( bind( fd,(struct sockaddr*)&addr, sizeof(addr)) != 0 ) + if ( ::bind( fd,(struct sockaddr*)&addr, sizeof(addr)) != 0 ) { int e = getErrno(); -- cgit v1.2.3