Commit 52a9df57 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Comment out auxiliar functions to test Screen

for_each_n() doesn't compile w/ gcc 8.3.x

BUG: 432639
parent cf8316bb
......@@ -11,7 +11,6 @@
// Qt
#include <QSet>
#include <QTextStream>
#include <QDebug>
// Konsole decoders
#include <PlainTextDecoder.h>
......@@ -387,6 +386,10 @@ void Screen::setReflowLines(bool enable)
_enableReflowLines = enable;
}
/* Note that if you use these debugging functions, it will
fail to compile on gcc 8.3.1 as of Feb 2021 due to for_each_n().
See BKO: 432639
// Debugging auxiliar functions to show what is written in screen or history
void toDebug(const Character *s, int count, bool wrapped = false)
{
......@@ -402,7 +405,7 @@ void toDebug(const QVector<Character> &s, bool wrapped = false)
{
toDebug(s.data(), s.size(), wrapped);
}
/////
*/
int Screen::getCursorLine()
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment