diff options
author | Lars Knoll <lars.knoll@qt.io> | 2019-05-02 09:24:11 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2019-05-03 09:36:36 +0000 |
commit | e3b55616e2334570fed3855e1855216bd9f85769 (patch) | |
tree | 305893db6f377f58233872807875f13befc8cbe5 /tests/auto/xml | |
parent | f27f89f3357326f8cc3b6bbc560160e909af7ead (diff) |
Prefix QTextStream operators with Qt:: in tests
Change-Id: I852f016fcb619a9e634deee6efb1fe7930d974c8
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests/auto/xml')
-rw-r--r-- | tests/auto/xml/sax/qxmlsimplereader/parser/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/xml/sax/qxmlsimplereader/parser/main.cpp b/tests/auto/xml/sax/qxmlsimplereader/parser/main.cpp index 15f10232bd..b5d9fea315 100644 --- a/tests/auto/xml/sax/qxmlsimplereader/parser/main.cpp +++ b/tests/auto/xml/sax/qxmlsimplereader/parser/main.cpp @@ -72,7 +72,7 @@ int main(int argc, const char *argv[]) QFile in_file(file_name); if (!in_file.open(QIODevice::ReadOnly)) { - qerr << "Could not open " << file_name << ": " << strerror(errno) << endl; + qerr << "Could not open " << file_name << ": " << strerror(errno) << Qt::endl; return 1; } @@ -87,7 +87,7 @@ int main(int argc, const char *argv[]) } else { _out_file.setFileName(out_file_name); if (!_out_file.open(QIODevice::WriteOnly | QIODevice::Truncate)) { - qerr << "Could not open " << out_file_name << ": " << strerror(errno) << endl; + qerr << "Could not open " << out_file_name << ": " << strerror(errno) << Qt::endl; return 1; } _out_stream.setDevice(&_out_file); |