Skip to content

Commit c65aa81

Browse files
committed
fix
1 parent 0a02b2b commit c65aa81

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

include/fast_io_hosted/dbg/nt_dbg.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,7 @@ inline void nt_fmt_dbg_forward([[maybe_unused]] nt_dbg_carrier carr, char8_t con
9797
/// @todo In the Windows NT debugging implementation, string lengths are silently truncated and UINT_LEAST16_MAX does not issue any error indications or warnings to the caller, which may result in incomplete debugging output.
9898
if (UINT_LEAST16_MAX < arg_n_len)
9999
{
100-
::fast_io::fast_terminate();
101-
#if 0
102100
arg_n_len = UINT_LEAST16_MAX;
103-
#endif
104101
}
105102
::std::uint_least16_t const u16argnlen{static_cast<::std::uint_least16_t>(arg_n_len)};
106103
::fast_io::win32::nt::ansi_string astr{u16argnlen, u16argnlen,
@@ -119,10 +116,7 @@ inline void nt_dbg_write_impl([[maybe_unused]] nt_dbg_carrier carr, char const *
119116
/// @todo In the Windows NT debugging implementation, string lengths are silently truncated and UINT_LEAST16_MAX does not issue any error indications or warnings to the caller, which may result in incomplete debugging output.
120117
if (UINT_LEAST16_MAX < arg_n_len)
121118
{
122-
::fast_io::fast_terminate();
123-
#if 0
124119
arg_n_len = UINT_LEAST16_MAX;
125-
#endif
126120
}
127121
::std::uint_least16_t const u16argnlen{static_cast<::std::uint_least16_t>(arg_n_len)};
128122
::fast_io::win32::nt::ansi_string astr{u16argnlen, u16argnlen, const_cast<char *>(first)};

0 commit comments

Comments
 (0)