Skip to content

Commit 17e6b20

Browse files
authored
Clean up nt_path.h by removing char16_may_alias_ptr
Removed unused type alias for char16_t pointer.
1 parent d1c0162 commit 17e6b20

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

include/fast_io_hosted/platforms/nt/nt_path.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#pragma once
1+
#pragma once
22

33
namespace fast_io::win32::nt::details
44
{
@@ -99,11 +99,6 @@ inline auto nt_call_invoke_with_directory_handle_impl(void *directory, char_type
9999
= char16_t const *;
100100
if constexpr (::std::same_as<char_type, char16_t>)
101101
{
102-
using char16_may_alias_ptr
103-
#if __has_cpp_attribute(__gnu__::__may_alias__)
104-
[[__gnu__::__may_alias__]]
105-
#endif
106-
= char16_t *;
107102
::std::uint_least16_t const bytes(strlen_to_nt_filename_bytes(filename_len));
108103

109104
// Since this involves escaping Win32-style paths to NT, all forward slashes '/' are converted to backslashes '\\'.

0 commit comments

Comments
 (0)