mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +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