We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3682ce7 commit cdf829bCopy full SHA for cdf829b
library/cpp/yt/memory/blob.cpp
@@ -197,13 +197,17 @@ void TBlob::SetTagCookie(TRefCountedTypeCookie tagCookie)
197
{
198
#ifdef YT_ENABLE_REF_COUNTED_TRACKING
199
TagCookie_ = tagCookie;
200
+#else
201
+ Y_UNUSED(tagCookie);
202
#endif
203
}
204
205
void TBlob::SetTagCookie(const TBlob& other)
206
207
208
TagCookie_ = other.TagCookie_;
209
210
+ Y_UNUSED(other);
211
212
213
library/cpp/yt/memory/ya.make
@@ -2,6 +2,10 @@ LIBRARY()
2
3
INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
4
5
+IF (YT_DISABLE_REF_COUNTED_TRACKING)
6
+ CXXFLAGS(-DYT_DISABLE_REF_COUNTED_TRACKING)
7
+ENDIF()
8
+
9
SRCS(
10
allocation_tags_hooks.cpp
11
blob.cpp
0 commit comments