Commit f66a9c56 authored by Laurent Montel's avatar Laurent Montel 😁

Use nullptr

parent a47bd352
......@@ -77,7 +77,7 @@ private:
template<typename T>
typename std::enable_if<std::is_base_of<Akonadi::Protocol::Command, T>::value == false, T>::type
serializeAndDeserialize(const T &in, int * = 0)
serializeAndDeserialize(const T &in, int * = nullptr)
{
QBuffer buf;
buf.open(QIODevice::ReadWrite);
......
......@@ -198,7 +198,7 @@ class <xsl:value-of select="$className"/> : private Entity
Inserts this record into the DataStore.
@param insertId pointer to an int, filled with the identifier of this record on success.
*/
bool insert( qint64* insertId = 0 );
bool insert( qint64 *insertId = nullptr );
/**
Returns @c true if this record has any pending changes.
......
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