diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-06-26 12:24:11 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-09-14 17:39:10 (GMT) |
commit | 0f85ade9bee91701533137deaea291ad023fd824 (patch) | |
tree | 3f7d5a6a4003d67f5d6837c4a05651ff689223b0 | |
parent | 7bca844581a38fbf46f8a3761cbd5e31bd9005d6 (diff) | |
download | fluxbox-0f85ade9bee91701533137deaea291ad023fd824.zip fluxbox-0f85ade9bee91701533137deaea291ad023fd824.tar.bz2 |
Mark FbTk::StringConvertor as NotCopyable
-rw-r--r-- | src/FbTk/FbString.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/FbTk/FbString.hh b/src/FbTk/FbString.hh index 55798e5..4f3e792 100644 --- a/src/FbTk/FbString.hh +++ b/src/FbTk/FbString.hh | |||
@@ -30,6 +30,8 @@ | |||
30 | #include <iconv.h> | 30 | #include <iconv.h> |
31 | #endif // HAVE_ICONV | 31 | #endif // HAVE_ICONV |
32 | 32 | ||
33 | #include "NotCopyable.hh" | ||
34 | |||
33 | namespace FbTk { | 35 | namespace FbTk { |
34 | 36 | ||
35 | // Use this type for things converted to our internal encoding (UTF-8) | 37 | // Use this type for things converted to our internal encoding (UTF-8) |
@@ -75,7 +77,7 @@ bool haveUTF8(); | |||
75 | 77 | ||
76 | } // namespace FbStringUtil | 78 | } // namespace FbStringUtil |
77 | 79 | ||
78 | class StringConvertor { | 80 | class StringConvertor: private NotCopyable { |
79 | public: | 81 | public: |
80 | 82 | ||
81 | enum EncodingTarget { ToFbString, ToLocaleStr }; | 83 | enum EncodingTarget { ToFbString, ToLocaleStr }; |