diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-03-06 09:38:09 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-03-06 11:31:43 +0100 |
commit | 797c996c566e549244919bb3a35101b1cae528fc (patch) | |
tree | 89c425e90f5a447890d2dd47c3e50da8561ed56f /tools | |
parent | a0ce8346415f067e0e2ecdf8b34dee25b20049ad (diff) |
Fix -Werror,-Woverloaded-virtual warnings
Probably these were just not adapted by accident in commit
f70e627795b09522d61185ac38d6ecdced9aca23 (WebSocket - simplify
handleMessage for now., 2020-03-05).
Change-Id: I578d95d938c0c466e9547dcda3d2b297dc347a34
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90076
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/WebSocketDump.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/WebSocketDump.cpp b/tools/WebSocketDump.cpp index 5ea8f6da7..e2fe32e54 100644 --- a/tools/WebSocketDump.cpp +++ b/tools/WebSocketDump.cpp @@ -42,9 +42,9 @@ public: private: /// Process incoming websocket messages - void handleMessage(bool fin, WSOpCode code, std::vector<char> &data) + void handleMessage(const std::vector<char> &data) override { - std::cout << "WebSocket message code " << (int)code << " fin " << fin << " data:\n"; + std::cout << "WebSocket message data:\n"; Util::dumpHex(std::cout, "", " ", data, false); } }; |