diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2018-03-09 07:30:13 +0000 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2018-05-17 17:30:21 +0100 |
commit | b246365e356dc96bfb079d1bd77a1db345df7c70 (patch) | |
tree | f171eb403ec1468fa995abe9fb336c99e7ddaa54 | |
parent | 3ff684425622a90104e214f529fb319b11b59b51 (diff) |
Add name to an unnamed structure
Unnamed structure combined with inheritance is considered a
bit hard to read, add a name to make more readable.
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Lukáš Hrázký <lhrazky@redhat.com>
-rw-r--r-- | src/spice-streaming-agent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spice-streaming-agent.cpp b/src/spice-streaming-agent.cpp index 7b166d3..8b0e1dc 100644 --- a/src/spice-streaming-agent.cpp +++ b/src/spice-streaming-agent.cpp @@ -126,7 +126,7 @@ static void handle_stream_error(size_t len) std::to_string(sizeof(StreamMsgNotifyError)) + ")"); } - struct : StreamMsgNotifyError { + struct StreamMsgNotifyError1K : StreamMsgNotifyError { uint8_t msg[1024]; } msg; |