]> git.lyx.org Git - lyx.git/blobdiff - src/support/unicode.cpp
Remove non-copyable idioms
[lyx.git] / src / support / unicode.cpp
index 26f834a58bec98aa4c38f2155ebac98365b1b3c5..995fa10c5979f0c2224add047f8bf312fc235040 100644 (file)
@@ -54,10 +54,11 @@ static const iconv_t invalid_cd = (iconv_t)(-1);
 
 class IconvProcessor::Impl
 {
-       // noncopyable because iconv_close() is called in destructor
-       Impl(Impl const &);
-       Impl & operator=(Impl const &);
 public:
+       // noncopyable because iconv_close() is called in destructor
+       Impl(Impl const &) = delete;
+       Impl & operator=(Impl const &) = delete;
+
        Impl(string const & to, string const & from)
                : cd(invalid_cd), tocode_(to), fromcode_(from)
        {}