| 437 | } |
| 438 | |
| 439 | void LogStream::insert(std::ostream & stream) |
| 440 | { |
| 441 | if (!bound_() || hasStream_(stream)) |
| 442 | { |
| 443 | return; |
| 444 | } |
| 445 | // we didn't find it - create a new entry in the list |
| 446 | LogStreamBuf::StreamStruct s_struct; |
| 447 | s_struct.stream = &stream; |
| 448 | rdbuf()->stream_list_.push_back(s_struct); |
| 449 | } |
| 450 | |
| 451 | void LogStream::remove(std::ostream & stream) |
| 452 | { |