aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvadim-xd <vadim-xd@yandex-team.com>2023-10-11 22:04:46 +0300
committervadim-xd <vadim-xd@yandex-team.com>2023-10-11 22:24:21 +0300
commit58b1f50236d9d737d6e3d921125be123dc0e73a8 (patch)
treeb0ded2e7f52ac2c148f7d5f123765728e43706fa
parent0c1480f04a0176a3ab69027cc37e563a3438e80b (diff)
downloadydb-58b1f50236d9d737d6e3d921125be123dc0e73a8.tar.gz
Add THash<TZtStringBuf>
-rw-r--r--library/cpp/string_utils/ztstrbuf/ztstrbuf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/library/cpp/string_utils/ztstrbuf/ztstrbuf.h b/library/cpp/string_utils/ztstrbuf/ztstrbuf.h
index 7fb2f13ad3..72a5218bf6 100644
--- a/library/cpp/string_utils/ztstrbuf/ztstrbuf.h
+++ b/library/cpp/string_utils/ztstrbuf/ztstrbuf.h
@@ -2,6 +2,7 @@
#include <util/generic/strbuf.h>
#include <util/generic/string.h>
+#include <util/str_stl.h>
/*
* Zero-terminated string view.
@@ -34,3 +35,7 @@ public:
return data();
}
};
+
+template <>
+struct THash<TZtStringBuf> : public THash<TStringBuf> {
+};