From 64a2fb4eba8d4209269db298545a6b929caaa794 Mon Sep 17 00:00:00 2001 From: MacroModel Date: Tue, 10 Dec 2024 09:26:07 +0800 Subject: [PATCH] mv func pos --- include/fast_io_hosted/platforms/win32.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/fast_io_hosted/platforms/win32.h b/include/fast_io_hosted/platforms/win32.h index 772978dc..d028faff 100644 --- a/include/fast_io_hosted/platforms/win32.h +++ b/include/fast_io_hosted/platforms/win32.h @@ -920,15 +920,7 @@ namespace win32::details { using win32_9xa_dir_handle_path_str = ::fast_io::containers::basic_string; using tlc_win32_9xa_dir_handle_path_str = ::fast_io::containers::basic_string; -} // namespace win32::details - -struct win32_9xa_dir_handle -{ - win32::details::win32_9xa_dir_handle_path_str path; -}; -namespace win32::details -{ template constexpr inline win32_9xa_dir_handle_path_str concat_win32_9xa_dir_handle_path_str(Args &&...args) { @@ -960,7 +952,15 @@ constexpr inline tlc_win32_9xa_dir_handle_path_str concat_tlc_win32_9xa_dir_hand return {}; } } +} // namespace win32::details + +struct win32_9xa_dir_handle +{ + win32::details::win32_9xa_dir_handle_path_str path; +}; +namespace win32::details +{ inline void close_win32_9xa_dir_handle(win32_9xa_dir_handle &h) noexcept { h.path.clear();