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

Frediano Ziglio fziglio at redhat.com
Fri Oct 12 10:30:20 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;
>  };
>  

Acked-by: Frediano Ziglio <fziglio at redhat.com>

Frediano


More information about the Spice-devel mailing list