Unnamed structure combined with inheritance is considered a
bit hard to read, add a name to make more readable.

Signed-off-by: Frediano Ziglio <fzig...@redhat.com>
---
 src/spice-streaming-agent.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/spice-streaming-agent.cpp b/src/spice-streaming-agent.cpp
index b39782c..37addf4 100644
--- a/src/spice-streaming-agent.cpp
+++ b/src/spice-streaming-agent.cpp
@@ -145,7 +145,7 @@ static void handle_stream_error(size_t len)
                                  std::to_string(sizeof(StreamMsgNotifyError)) 
+ ")");
     }
 
-    struct : StreamMsgNotifyError {
+    struct NotifyError : StreamMsgNotifyError {
         uint8_t msg[1024];
     } msg;
 
-- 
2.14.3

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to