Skip to content

Commit 482f318

Browse files
committed
[UCRT] Fix template specialization
1 parent 7a764cf commit 482f318

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sdk/lib/ucrt/filesystem/findfile.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ template <typename CrtTime>
2727
static CrtTime __cdecl convert_system_time_to_time_t(SYSTEMTIME const& st) throw();
2828

2929
template <>
30-
static __time32_t __cdecl convert_system_time_to_time_t(SYSTEMTIME const& st) throw()
30+
__time32_t __cdecl convert_system_time_to_time_t(SYSTEMTIME const& st) throw()
3131
{
3232
return __loctotime32_t(st.wYear, st.wMonth, st.wDay, st.wHour, st.wMinute, st.wSecond, -1);
3333
}
3434

3535
template <>
36-
static __time64_t __cdecl convert_system_time_to_time_t(SYSTEMTIME const& st) throw()
36+
__time64_t __cdecl convert_system_time_to_time_t(SYSTEMTIME const& st) throw()
3737
{
3838
return __loctotime64_t(st.wYear, st.wMonth, st.wDay, st.wHour, st.wMinute, st.wSecond, -1);
3939
}
@@ -64,13 +64,13 @@ template <typename Integer>
6464
static Integer convert_file_size_to_integer(DWORD const high, DWORD const low) throw();
6565

6666
template <>
67-
static __int64 convert_file_size_to_integer(DWORD const high, DWORD const low) throw()
67+
__int64 convert_file_size_to_integer(DWORD const high, DWORD const low) throw()
6868
{
6969
return static_cast<__int64>(high) * 0x100000000ll + static_cast<__int64>(low);
7070
}
7171

7272
template <>
73-
static unsigned long convert_file_size_to_integer(DWORD const high, DWORD const low) throw()
73+
unsigned long convert_file_size_to_integer(DWORD const high, DWORD const low) throw()
7474
{
7575
UNREFERENCED_PARAMETER(high);
7676
return low;

0 commit comments

Comments
 (0)