Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorMikkel Krautz <mikkel@krautz.dk>2018-02-11 02:03:58 +0300
committerMikkel Krautz <mikkel@krautz.dk>2018-02-11 02:03:58 +0300
commit7f5225741781974cc6d1a01ec82c3c859f72b225 (patch)
treeebeecb199f88032d548efc1acef93cd2b0b84652 /src/tests
parent39c526a74fb66f3488aaf74afde10396c914520e (diff)
XMLTools: remove default argument 'opstyle' in recurseParse().
This fixes the build on our OS X Universal builder. Our legacy OS X Universal builder's gcc 4.2 seems to misparse this. The only place the default argument is used is in test code, which is easily changable. Also, this is internal API, so we can change it as we wish. Fixes mumble-voip/mumble#3336
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/TestXMLTools/TestXMLTools.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/TestXMLTools/TestXMLTools.cpp b/src/tests/TestXMLTools/TestXMLTools.cpp
index e85520828..f42fd74ad 100644
--- a/src/tests/TestXMLTools/TestXMLTools.cpp
+++ b/src/tests/TestXMLTools/TestXMLTools.cpp
@@ -54,7 +54,8 @@ QString TestXMLTools::doParse(QString input) {
QXmlStreamWriter writerOut(&outBuf);
outBuf.open(QIODevice::WriteOnly);
int paragraphs = 0;
- XMLTools::recurseParse(reader, writerOut, paragraphs);
+ QMap<QString, QString> pstyle;
+ XMLTools::recurseParse(reader, writerOut, paragraphs, pstyle);
outBuf.close();
return QString(outBuf.data());
}