Refactor code to use C++11 nullptr

This commit is contained in:
padertux
2018-01-08 22:58:42 +01:00
committed by padertux
parent dc8cbed1eb
commit 4f26eb686e
201 changed files with 634 additions and 634 deletions

View File

@@ -83,7 +83,7 @@ Solid::Device Solid::StorageVolume::encryptedContainer() const
Ifaces::StorageVolume *iface
= qobject_cast<Ifaces::StorageVolume*>(d->backendObject());
if (iface!=0) {
if (iface!=nullptr) {
return Device(iface->encryptedContainerUdi());
} else {
return Device();