diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-05-01 03:25:01 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-05-18 20:15:50 +0300 |
commit | ba5d2c871acef4bbe6977e93014c8ff1f0a09e7f (patch) | |
tree | 8f447015bc90108af49fa9eaf36648eea7e33520 /Documentation/theme/static/search.png | |
parent | 0085202fe26c3e96cf0f1dacf52388edf3005c5c (diff) |
libcamera: camera: Fix std::ostringstream initialisation
We use the std::ostringstream class to generate log messages in the
Camera class. The stream is initialised with initial content, but is not
opened without seeking to the end, which results in the content being
overwritten immediately. Fix it by opening the stream with
std::ios_base::ate.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'Documentation/theme/static/search.png')
0 files changed, 0 insertions, 0 deletions