{}
+// for gcc 4.6
+IconvProcessor::IconvProcessor(IconvProcessor && other)
+ : tocode_(move(other.tocode_)), fromcode_(move(other.fromcode_)),
+ h_(move(other.h_))
+{}
+
+
bool IconvProcessor::init()
{
if (h_)
char * out_buffer, size_t max_out_size);
/// target encoding
std::string to() const { return tocode_; }
- // required by g++ 4.7
- IconvProcessor(IconvProcessor &&) = default;
+ // required by g++ 4.6
+ IconvProcessor(IconvProcessor && other);
};
/// Get the global IconvProcessor instance of the current thread for