Skip to content

Commit df32c36

Browse files
remove useless warnings in kernel util (#15565)
Everything is pinned to cpp17 now
1 parent 1523606 commit df32c36

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

extension/kernel_util/make_boxed_from_unboxed_functor.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@
3434
//===----------------------------------------------------------------------===//
3535

3636
#pragma once
37-
#if __cplusplus < 201703L
38-
#error "This header requires C++17"
39-
#endif
4037

4138
#include <executorch/extension/kernel_util/meta_programming.h>
4239
#include <executorch/extension/kernel_util/type_list.h>

extension/kernel_util/meta_programming.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
*/
88

99
#pragma once
10-
#if __cplusplus < 201703L
11-
#error "This header requires C++17"
12-
#endif
1310

1411
#include <executorch/extension/kernel_util/type_list.h>
1512
#include <cstdlib>

extension/kernel_util/type_list.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111
/// Forked from pytorch/c10/util/TypeList.h
1212
/// \brief Utilities for working with type lists.
1313
#pragma once
14-
#if __cplusplus < 201703L
15-
#error "This header requires C++17"
16-
#endif
1714

1815
#include <algorithm>
1916
#include <cstddef>

0 commit comments

Comments
 (0)