mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Progressivly using C++11 litteral pointer nullptr
This commit is contained in:
+2
-2
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user