diff options
author | aleexfi <[email protected]> | 2022-10-04 13:53:13 +0300 |
---|---|---|
committer | aleexfi <[email protected]> | 2022-10-04 13:53:13 +0300 |
commit | 4cf93820c1ced899f7d1be40a63e60451003fb8a (patch) | |
tree | d00ccd2660e302ebdb391b315df275021e0a81e0 /library/cpp/yt/misc | |
parent | 11734939277c0f1cca0aa21c2e5d28dd7a4077c6 (diff) |
Fix of aligned_free on windows
Diffstat (limited to 'library/cpp/yt/misc')
-rw-r--r-- | library/cpp/yt/misc/cast-inl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/yt/misc/cast-inl.h b/library/cpp/yt/misc/cast-inl.h index 1920b7c0b76..a8b34c8af30 100644 --- a/library/cpp/yt/misc/cast-inl.h +++ b/library/cpp/yt/misc/cast-inl.h @@ -67,7 +67,7 @@ inline TString FormatInvalidCastValue(char8_t value) template <class T, class S> bool TryIntegralCast(S value, T* result) { - if (!NDetail::IsInIntegralRange<T>(value)) { + if (!NYT::NDetail::IsInIntegralRange<T>(value)) { return false; } *result = static_cast<T>(value); @@ -80,7 +80,7 @@ T CheckedIntegralCast(S value) T result; if (!TryIntegralCast<T>(value, &result)) { throw TSimpleException(Sprintf("Argument value %s is out of expected range", - NDetail::FormatInvalidCastValue(value).c_str())); + NYT::NDetail::FormatInvalidCastValue(value).c_str())); } return result; } |