]> git.lyx.org Git - lyx.git/commit
Make IconvProcessor::Impl noncopyable
authorGeorg Baum <baum@lyx.org>
Tue, 1 Jul 2014 20:23:06 +0000 (22:23 +0200)
committerGeorg Baum <baum@lyx.org>
Tue, 1 Jul 2014 20:23:06 +0000 (22:23 +0200)
commitc9c20dc23b0ca9bc11d6bcc6a324fabb2325080e
treeefb4a5f2198956ed3518d44e010d797d396dc926
parent0e8fea07057fe603d6967e8be9b76887f7b318ec
Make IconvProcessor::Impl noncopyable

The compiler-generated copy-constructor and assigment operators would be wrong
for IconvProcessor::Impl, since cd would be copied, and iconv_close() could
thus be called twice on the same descriptor. The old code did work, but now
IconvProcessor::Impl cannot be copied by accident in the future.
src/support/unicode.cpp
src/support/unicode.h