some effic++ warnings fixes

This commit is contained in:
gabime
2014-02-09 01:56:21 +02:00
parent d60e971dec
commit be78e51f8c
6 changed files with 214 additions and 210 deletions

View File

@@ -53,7 +53,7 @@ public:
fast_oss():std::ostream(&_dev) {}
~fast_oss() = default;
fast_oss(const fast_oss& other):std::basic_ios<char>(), std::ostream(),_dev(other._dev) {}
fast_oss operator=(const fast_oss& other)
fast_oss& operator=(const fast_oss& other)
{
if(&other != this)
_dev = other._dev;