From f34df5962f97d5cf61a9772f3dc293c812d9fb42 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Tue, 18 Dec 2018 13:06:04 -0800 Subject: [PATCH] StackStringStream: add strv method short-cut Signed-off-by: Patrick Donnelly --- src/common/StackStringStream.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/StackStringStream.h b/src/common/StackStringStream.h index 32ce245f8925b..5eaea7e8d6b5a 100644 --- a/src/common/StackStringStream.h +++ b/src/common/StackStringStream.h @@ -134,6 +134,9 @@ public: const sss& get_stream() const { return *osp; } + std::string_view strv() const { + return osp->strv(); + } private: static constexpr std::size_t max_elems = 8; -- 2.39.5