mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 13:04:28 -04:00
Use nullptr instead of 0
This commit is contained in:
@ -22,7 +22,7 @@ HttpSession::HttpSession(bool canStore)
|
||||
}
|
||||
else
|
||||
{
|
||||
dataPtr=0;
|
||||
dataPtr=nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
@ -103,7 +103,7 @@ QByteArray HttpSession::getId() const
|
||||
}
|
||||
|
||||
bool HttpSession::isNull() const {
|
||||
return dataPtr==0;
|
||||
return dataPtr==nullptr;
|
||||
}
|
||||
|
||||
void HttpSession::set(const QByteArray& key, const QVariant& value)
|
||||
|
Reference in New Issue
Block a user