forked from DeepRec-AI/DeepRec
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUILD] Add missing header to fix compile error for GCC11 & GCC12. (D…
- Loading branch information
1 parent
bd22ca7
commit 8bc8026
Showing
3 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
diff --git a/util/noncopyable_function.hh b/util/noncopyable_function.hh | ||
index 3928709f..0fb0b189 100644 | ||
--- a/util/noncopyable_function.hh | ||
+++ b/util/noncopyable_function.hh | ||
@@ -21,6 +21,7 @@ | ||
|
||
#pragma once | ||
|
||
+#include <cstddef> | ||
#include <utility> | ||
#include <type_traits> | ||
#include <functional> | ||
diff --git a/core/apply.hh b/core/apply.hh | ||
index 437166ad..9790d98f 100644 | ||
--- a/core/apply.hh | ||
+++ b/core/apply.hh | ||
@@ -22,6 +22,7 @@ | ||
#ifndef APPLY_HH_ | ||
#define APPLY_HH_ | ||
|
||
+#include <cstddef> | ||
#include <tuple> | ||
#include <utility> |