mirror of
https://github.com/YACReader/yacreader
synced 2026-04-12 15:49:53 -04:00
Fix all compilation issues after enabling QT_DISABLE_DEPRECATED_UP_TO
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
*/
|
||||
|
||||
#include "httpcookie.h"
|
||||
#include <utility>
|
||||
|
||||
using namespace stefanfrings;
|
||||
|
||||
@ -37,7 +38,7 @@ HttpCookie::HttpCookie(const QByteArray source)
|
||||
secure=false;
|
||||
httpOnly=false;
|
||||
QList<QByteArray> list=splitCSV(source);
|
||||
foreach(QByteArray part, list)
|
||||
for (const QByteArray &part : std::as_const(list))
|
||||
{
|
||||
|
||||
// Split the part into name and value
|
||||
|
||||
Reference in New Issue
Block a user