Skip to content

Commit

Permalink
cppcheck: Mark several constructors as explicit.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Oct 2, 2020
1 parent 0a76906 commit 4c57900
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/mpeg/dvbdescriptors.h
Expand Up @@ -2797,7 +2797,7 @@ class SkyLCNDescriptor : public MPEGDescriptor
class OpenTVChannelListDescriptor : public MPEGDescriptor
{
public:
OpenTVChannelListDescriptor(const unsigned char *data, int len = 300) :
explicit OpenTVChannelListDescriptor(const unsigned char *data, int len = 300) :
MPEGDescriptor(data, len, PrivateDescriptorID::opentv_channel_list) { }
// Name bits loc expected value
// descriptor_tag 8 0.0 0xB1
Expand Down
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/opengl/mythmediacodecinterop.h
Expand Up @@ -22,7 +22,7 @@ class MythMediaCodecInterop : public MythOpenGLInterop
void* GetSurface(void);

protected:
MythMediaCodecInterop(MythRenderOpenGL *Context);
explicit MythMediaCodecInterop(MythRenderOpenGL *Context);
~MythMediaCodecInterop() override;
bool Initialise(QSize Size);

Expand Down
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/opengl/mythvtbinterop.h
Expand Up @@ -29,7 +29,7 @@ class MythVTBInterop : public MythOpenGLInterop
class MythVTBSurfaceInterop : public MythVTBInterop
{
public:
MythVTBSurfaceInterop(MythRenderOpenGL *Context);
explicit MythVTBSurfaceInterop(MythRenderOpenGL *Context);
~MythVTBSurfaceInterop() override;

vector<MythVideoTexture*> Acquire(MythRenderOpenGL *Context,
Expand Down

0 comments on commit 4c57900

Please sign in to comment.