]> git.sesse.net Git - cubemap/blobdiff - udpstream.cpp
Do not store the UDP pacing rate; we do not use it after the constructor.
[cubemap] / udpstream.cpp
index fc003561ef0bb7c5a75e3a126fc93c559100eca3..1e79494a3d8d302c5195ea17efeab83954eb37ea 100644 (file)
@@ -10,8 +10,7 @@
 #endif
 
 UDPStream::UDPStream(const sockaddr_in6 &dst, uint32_t pacing_rate)
-       : dst(dst),
-         pacing_rate(pacing_rate)
+       : dst(dst) 
 {
        sock = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP);
        if (sock == -1) {