summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/stream/mem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/stream/mem.h b/util/stream/mem.h
index cad6dfb9754..53383740a97 100644
--- a/util/stream/mem.h
+++ b/util/stream/mem.h
@@ -25,10 +25,10 @@ public:
* @param buf Memory block to use.
* @param len Size of the memory block.
*/
- TMemoryInput(const void* buf, size_t len) noexcept;
+ TMemoryInput(const void* buf Y_LIFETIME_BOUND, size_t len) noexcept;
TMemoryInput(TString&&) = delete;
explicit TMemoryInput(const TStringBuf buf) noexcept;
- explicit TMemoryInput(const char* zstr)
+ explicit TMemoryInput(const char* zstr Y_LIFETIME_BOUND)
: TMemoryInput(TStringBuf(zstr))
{
}