[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [akonadi] /: Use nullptr
From: Montel Laurent <null () kde ! org>
Date: 2017-11-01 9:10:33
Message-ID: E1e9p2f-0000nQ-UG () code ! kde ! org
[Download RAW message or body]
Git commit f66a9c56db795ee62a2c4231b721968f963765e3 by Montel Laurent.
Committed on 01/11/2017 at 09:10.
Pushed by mlaurent into branch 'master'.
Use nullptr
M +1 -1 autotests/private/protocoltest.h
M +1 -1 src/server/storage/entities-header.xsl
https://commits.kde.org/akonadi/f66a9c56db795ee62a2c4231b721968f963765e3
diff --git a/autotests/private/protocoltest.h b/autotests/private/protocoltest.h
index 028c71fcd..629b19db4 100644
--- a/autotests/private/protocoltest.h
+++ b/autotests/private/protocoltest.h
@@ -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);
diff --git a/src/server/storage/entities-header.xsl b/src/server/storage/entities-header.xsl
index fc471aa25..8a380bc7a 100644
--- a/src/server/storage/entities-header.xsl
+++ b/src/server/storage/entities-header.xsl
@@ -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.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic