aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/containers/2d_array/2d_array.h
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2024-07-02 20:46:26 +0300
committerthegeorg <thegeorg@yandex-team.com>2024-07-02 20:57:44 +0300
commit52085e045432a8505191863d69ce2e7fc3a6800d (patch)
tree65b8db2bc2aa063e989b73d999eaf048bac748ee /library/cpp/containers/2d_array/2d_array.h
parentfe4668a34a034108c74b64e467489c0b50660c5f (diff)
downloadydb-52085e045432a8505191863d69ce2e7fc3a6800d.tar.gz
TArray2D::operator[] makes bound checking in debug builds
3ce1f2a59c087222badce66a8c7043e77907f530
Diffstat (limited to 'library/cpp/containers/2d_array/2d_array.h')
-rw-r--r--library/cpp/containers/2d_array/2d_array.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/cpp/containers/2d_array/2d_array.h b/library/cpp/containers/2d_array/2d_array.h
index 9e24650637..ecfbf0050d 100644
--- a/library/cpp/containers/2d_array/2d_array.h
+++ b/library/cpp/containers/2d_array/2d_array.h
@@ -3,6 +3,7 @@
#include <util/system/yassert.h>
#include <util/generic/algorithm.h>
+// FIXME: check for Y_IF_DEBUG instead
#ifdef _DEBUG
template <class T>
struct TBoundCheck {