]> git.lyx.org Git - features.git/blobdiff - src/support/FileName.cpp
Stop using a GCC extension for an unprintable character in regex.
[features.git] / src / support / FileName.cpp
index b9a1d4315b8a25ac6fbc639fc3ba4d9eb32b9bb0..5295741e1abc9faafc404695d73356edcc6583ff 100644 (file)
@@ -158,13 +158,6 @@ FileName::FileName(FileName const & rhs) : d(new Private)
 }
 
 
-FileName::FileName(FileName && rhs) noexcept
-       : d(rhs.d)
-{
-       rhs.d = nullptr;
-}
-
-
 FileName::FileName(FileName const & rhs, string const & suffix) : d(new Private)
 {
        set(rhs, suffix);
@@ -181,15 +174,6 @@ FileName & FileName::operator=(FileName const & rhs)
 }
 
 
-FileName & FileName::operator=(FileName && rhs) noexcept
-{
-       auto temp = rhs.d;
-       rhs.d = d;
-       d = temp;
-       return *this;
-}
-
-
 bool FileName::empty() const
 {
        return d->name.empty();