[Spice-devel] [PATCH spice-streaming-agent v2 1/3] stream-port: make StreamPort::fd const

Lukáš Hrázký lhrazky at redhat.com
Fri Oct 12 10:04:19 UTC 2018


Signed-off-by: Lukáš Hrázký <lhrazky at redhat.com>
---
 src/stream-port.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/stream-port.hpp b/src/stream-port.hpp
index 9187cf5..48f843c 100644
--- a/src/stream-port.hpp
+++ b/src/stream-port.hpp
@@ -23,7 +23,7 @@ public:
     void read(void *buf, size_t len);
     void write(const void *buf, size_t len);
 
-    int fd;
+    const int fd;
     std::mutex mutex;
 };
 
-- 
2.19.1



More information about the Spice-devel mailing list