Skip to content

Commit a86b832

Browse files
committed
removed overlooked/unneeded #if
Signed-off-by: Chris Perkins <[email protected]>
1 parent 3e4289c commit a86b832

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

sycl/include/CL/sycl/bit_cast.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
#pragma once
1010

11+
#include <type_traits>
12+
1113
#if __cpp_lib_bit_cast
1214
#include <bit>
1315
#endif
@@ -17,7 +19,7 @@ namespace sycl {
1719

1820
// forward decl
1921
namespace detail {
20-
inline void memcpy(void *Dst, const void *Src, size_t Size);
22+
inline void memcpy(void *Dst, const void *Src, std::size_t Size);
2123
}
2224

2325
// sycl::bit_cast ( no longer sycl::detail::bit_cast )

sycl/include/CL/sycl/detail/helpers.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
#include <CL/sycl/detail/pi.hpp>
1717
#include <CL/sycl/detail/type_traits.hpp>
1818

19-
#if __cpp_lib_bit_cast
20-
#include <bit>
21-
#endif
2219
#include <memory>
2320
#include <stdexcept>
2421
#include <type_traits>

0 commit comments

Comments
 (0)