From b96d7a1782ea8737ad9b59c9a1105060676a03a1 Mon Sep 17 00:00:00 2001 From: John Zhao Date: Wed, 30 May 2018 22:15:50 +0800 Subject: [PATCH] Fix log message --- src/internal/streams.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/internal/streams.cc b/src/internal/streams.cc index 3335a84..23bb66b 100644 --- a/src/internal/streams.cc +++ b/src/internal/streams.cc @@ -194,8 +194,8 @@ std::size_t Streams::GetStreamDataMaxSize(const Stream &stream) const { Streams::stream_datas_t Streams::GetStreamDatas(const Stream &stream) { std::unique_lock lock(mtx_); if (!HasStreamDatas(stream) || stream_datas_map_.at(stream).empty()) { - LOG(WARNING) << "There are stream datas of " << stream - << ", do you first call WaitForStreams?"; + LOG(WARNING) << "There are no stream datas of " << stream + << ". Did you call WaitForStreams() before this?"; return {}; } stream_datas_t datas = stream_datas_map_.at(stream);