summaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
authorpg <[email protected]>2025-09-11 10:28:22 +0300
committerpg <[email protected]>2025-09-11 11:15:17 +0300
commit9ba1ae8d89a74f067c9673b58143ef92e451c5f0 (patch)
treedc206961f9e2c133ba0a39c4e5541ef9f864082e /library/cpp
parente10e3953c6d1e650a2771084f087e53bc552e930 (diff)
fix NO COW mode
commit_hash:782452058bfe12788549f8c42ed026ddbcfe98e0
Diffstat (limited to 'library/cpp')
-rw-r--r--library/cpp/dns/cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/dns/cache.cpp b/library/cpp/dns/cache.cpp
index 05c14e82fce..9414f072d58 100644
--- a/library/cpp/dns/cache.cpp
+++ b/library/cpp/dns/cache.cpp
@@ -98,7 +98,7 @@ namespace {
//3. replace host to alias, if exist
if (A_.size()) {
TReadGuard guard(LA_);
- TStringBuf names[] = {"*", host};
+ TString names[] = {"*", host};
for (const auto& name : names) {
TAliases::const_iterator it = A_.find(name);