Skip to content

Commit

Permalink
cppcheck: Pass variable by reference in mytharchive.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Oct 2, 2020
1 parent 9d2b8e9 commit 3e16853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythplugins/mytharchive/mytharchive/exportnative.h
Expand Up @@ -33,7 +33,7 @@ class ExportNative : public MythScreenType

public:
ExportNative(MythScreenStack *parent, MythScreenType *previousScreen,
ArchiveDestination archiveDestination, const QString& name)
ArchiveDestination &archiveDestination, const QString& name)
: MythScreenType(parent, name),
m_previousScreen(previousScreen),
m_archiveDestination(archiveDestination) {}
Expand Down

0 comments on commit 3e16853

Please sign in to comment.