diff options
Diffstat (limited to 'src/stream.h')
-rw-r--r-- | src/stream.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stream.h b/src/stream.h index 1e57325d..7c1f04d4 100644 --- a/src/stream.h +++ b/src/stream.h @@ -63,8 +63,9 @@ class Stream { void WriteData(const std::vector<T> src, const char* desc, PrintChars print_chars = PrintChars::No) { - if (!src.empty()) + if (!src.empty()) { WriteData(src.data(), src.size() * sizeof(T), desc, print_chars); + } } void WriteDataAt(size_t offset, |