]> git.sesse.net Git - cubemap/commitdiff
Do not store the UDP pacing rate; we do not use it after the constructor.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 26 Apr 2014 16:56:02 +0000 (18:56 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 26 Apr 2014 16:56:02 +0000 (18:56 +0200)
udpstream.cpp
udpstream.h

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) {
index 271764e297158ad17dbdb2b86cb6aef623690f9f..ebc8ebc9b070822d74b0ba6ef759f5ec2cc80bdf 100644 (file)
@@ -26,7 +26,6 @@ private:
 
        sockaddr_in6 dst;
        int sock;
-       uint32_t pacing_rate;
 };
 
 #endif  // !defined(_UDPSTREAM_H)