mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
GUI: source file: use = default for copy constructor
This commit is contained in:
parent
354e7cae2e
commit
b46089387c
@ -40,12 +40,6 @@ fixAssociationsFor(char const *group,
|
||||
SourceFile::SourceFile(QString const &fileName)
|
||||
: m_fileName{QDir::toNativeSeparators(fileName)}
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
SourceFile::SourceFile(SourceFile const &other)
|
||||
{
|
||||
*this = other;
|
||||
}
|
||||
|
||||
SourceFile::~SourceFile() {
|
||||
|
@ -44,7 +44,7 @@ public:
|
||||
|
||||
public:
|
||||
explicit SourceFile(QString const &fileName = QString{""});
|
||||
SourceFile(SourceFile const &other);
|
||||
SourceFile(SourceFile const &other) = default;
|
||||
virtual ~SourceFile();
|
||||
|
||||
SourceFile &operator =(SourceFile const &other);
|
||||
|
Loading…
Reference in New Issue
Block a user