From 6d9aa0f46e096c1179731c894d640973c508664f Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 17 Feb 2015 17:11:54 +0100 Subject: [PATCH] Debugger: Remove unneeded code in the protocol implementation Change-Id: I53ee9300c0355b01c2fb57d527725ae5c6a5ef8f Reviewed-by: Christian Stenger --- src/plugins/debugger/debuggerprotocol.cpp | 5 ----- src/plugins/debugger/debuggerprotocol.h | 1 - 2 files changed, 6 deletions(-) diff --git a/src/plugins/debugger/debuggerprotocol.cpp b/src/plugins/debugger/debuggerprotocol.cpp index 5393e89d8f..a82fb84ed8 100644 --- a/src/plugins/debugger/debuggerprotocol.cpp +++ b/src/plugins/debugger/debuggerprotocol.cpp @@ -64,11 +64,6 @@ void skipCommas(const char *&from, const char *to) ++from; } -QTextStream &operator<<(QTextStream &os, const GdbMi &mi) -{ - return os << mi.toString(); -} - void GdbMi::parseResultOrValue(const char *&from, const char *to) { while (from != to && isspace(*from)) diff --git a/src/plugins/debugger/debuggerprotocol.h b/src/plugins/debugger/debuggerprotocol.h index 5b12fcc6a0..49a0a81514 100644 --- a/src/plugins/debugger/debuggerprotocol.h +++ b/src/plugins/debugger/debuggerprotocol.h @@ -31,7 +31,6 @@ #ifndef DEBUGGER_PROTOCOL_H #define DEBUGGER_PROTOCOL_H -#include #include #include -- GitLab