diff options
author | thegeorg <thegeorg@yandex-team.com> | 2024-07-02 20:46:26 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2024-07-02 20:57:44 +0300 |
commit | 52085e045432a8505191863d69ce2e7fc3a6800d (patch) | |
tree | 65b8db2bc2aa063e989b73d999eaf048bac748ee /library/cpp/containers/2d_array/2d_array.h | |
parent | fe4668a34a034108c74b64e467489c0b50660c5f (diff) | |
download | ydb-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.h | 1 |
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 { |