#6018 Remove unnecessary caf::FilePath assignement operator

In C++11 implicit generation of the copy constructor is deprecated if the
class has a user-declared copy assignment operator or a user-declared destructor.
This commit is contained in:
Kristian Bendiksen 2020-06-03 21:23:00 +02:00
parent 8f5edbf5b0
commit 23202c9f15
2 changed files with 0 additions and 9 deletions

View File

@ -28,14 +28,6 @@ void caf::FilePath::setPath(const QString& filePath)
m_filePath = filePath;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void caf::FilePath::operator=(const FilePath& other)
{
m_filePath = other.m_filePath;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------

View File

@ -19,7 +19,6 @@ public:
QString path() const;
void setPath(const QString& valueText);
void operator=(const FilePath& other);
bool operator==(const FilePath& other) const;
private: