Mark FbTk::StringConvertor as NotCopyable
This commit is contained in:
parent
7bca844581
commit
0f85ade9be
1 changed files with 3 additions and 1 deletions
|
@ -30,6 +30,8 @@
|
|||
#include <iconv.h>
|
||||
#endif // HAVE_ICONV
|
||||
|
||||
#include "NotCopyable.hh"
|
||||
|
||||
namespace FbTk {
|
||||
|
||||
// Use this type for things converted to our internal encoding (UTF-8)
|
||||
|
@ -75,7 +77,7 @@ bool haveUTF8();
|
|||
|
||||
} // namespace FbStringUtil
|
||||
|
||||
class StringConvertor {
|
||||
class StringConvertor: private NotCopyable {
|
||||
public:
|
||||
|
||||
enum EncodingTarget { ToFbString, ToLocaleStr };
|
||||
|
|
Loading…
Reference in a new issue