1
0
Fork 0

Revert "fix compile errors in new clangs"

This reverts commit 43a32b04c4.
This commit is contained in:
jsteemann 2017-03-06 14:30:47 +01:00
parent c7acebe3c0
commit d8dcba7d48
1 changed files with 4 additions and 4 deletions

View File

@ -77,11 +77,11 @@ class LoggerStream {
}
template <typename T>
friend LoggerStream& operator<<(LoggerStream& out, T const& obj) {
out << obj;
return out;
LoggerStream& operator<<(T const& obj) {
_out << obj;
return *this;
}
template <typename T1, typename T2>
LoggerStream& operator<<(std::pair<T1, T2> const& obj) {
_out << '(' << obj.first << ", " << obj.second << ')';