Progressivly using C++11 litteral pointer nullptr

This commit is contained in:
baydam
2019-10-18 17:04:02 +00:00
parent e4a170c564
commit 037f0cc7aa
+2 -2
View File
@@ -188,7 +188,7 @@ void Image::_doPlay()
/* Implementation of the Video class */
Video::Video(int id) : Texture(id),
_uri(""),
_impl(NULL)
_impl(nullptr)
{
_impl = new VideoUriDecodeBinImpl();
setRate(1);
@@ -198,7 +198,7 @@ Video::Video(int id) : Texture(id),
Video::Video(const QString uri_, VideoType type, double rate, uid id):
Texture(id),
_uri(""),
_impl(NULL)
_impl(nullptr)
{
switch (type) {
case VIDEO_URI: