Skip to content

Commit c50b3d3

Browse files
author
pi1024e
authored
Replace deprecated C Headers with the C++ variants (#121)
1 parent 212ecbf commit c50b3d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/wil/wistd_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
#define _WISTD_CONFIG_H_
4040

4141
// DO NOT add *any* additional includes to this file -- there should be no dependencies from its usage
42-
#include <stddef.h> // For size_t and other necessary types
42+
#include <cstddef> // For size_t and other necessary types
4343

4444
/// @cond
4545
#if defined(_MSC_VER) && !defined(__clang__)

tests/WinRTTests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
#include <time.h> // TODO: https://github.com/microsoft/wil/issues/44
2+
#include <ctime> // TODO: https://github.com/microsoft/wil/issues/44
33
#include <wil/winrt.h>
44

55
#ifdef WIL_ENABLE_EXCEPTIONS

0 commit comments

Comments
 (0)