missing move semantincs for stringstream in GCC 4.8 and 4.9
src/xerus/misc/namedLogger.cpp: In function ‘void xerus::misc::internal::buffer::checkSwitch()’:
src/xerus/misc/namedLogger.cpp:53:12: error: use of deleted function ‘std::basic_stringstream<char>& std::basic_stringstream<char>::operator=(const std::basic_stringstream<char>&)’
old = std::move(current);
^
In file included from include/xerus/misc/namedLogger.h:30:0,
from src/xerus/misc/namedLogger.cpp:31:
/net/site-local.linux64/gcc/4.9.3/include/c++/4.9.3/sstream:502:11: note: ‘std::basic_stringstream<char>& std::basic_stringstream<char>::operator=(const std::basic_stringstream<char>&)’ is implicitly deleted because the default definition would be ill-formed:
class basic_stringstream : public basic_iostream<_CharT, _Traits>
^
/net/site-local.linux64/gcc/4.9.3/include/c++/4.9.3/sstream:502:11: error: use of deleted function ‘std::basic_iostream<char>& std::basic_iostream<char>::operator=(const std::basic_iostream<char>&)’
In file included from /net/site-local.linux64/gcc/4.9.3/include/c++/4.9.3/sstream:38:0,
from include/xerus/misc/namedLogger.h:30,
from src/xerus/misc/namedLogger.cpp:31:
/net/site-local.linux64/gcc/4.9.3/include/c++/4.9.3/istream:795:11: note: ‘std::basic_iostream<char>& std::basic_iostream<char>::operator=(const std::basic_iostream<char>&)’ is implicitly deleted because the default definition would be ill-formed:
class basic_iostream
^
/net/site-local.linux64/gcc/4.9.3/include/c++/4.9.3/istream:795:11: error: use of deleted function ‘std::basic_istream<char>& std::basic_istream<char>::operator=(const std::basic_istream<char>&)’
compilation terminated due to -fmax-errors=3.