mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#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:
parent
8f5edbf5b0
commit
23202c9f15
@ -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;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user