Skip to content

Commit f2d92ec

Browse files
backesCommit Bot
authored andcommitted
[base] Add missing include of <type_traits>
The missing include causes compilation failures for node.js, see nodejs/node#30020. It's not great to have includes in a file called "macros.h", but we define several functions there that make use of type traits. Fixing that is a separate project. [email protected] Change-Id: Idb067679e597521230f94eb8c99f1347ed3808cb Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1868622 Reviewed-by: Michael Lippautz <[email protected]> Commit-Queue: Clemens Backes <[email protected]> Cr-Commit-Position: refs/heads/master@{#64386}
1 parent 2988633 commit f2d92ec

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/base/macros.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#define V8_BASE_MACROS_H_
77

88
#include <limits>
9+
#include <type_traits>
910

1011
#include "src/base/compiler-specific.h"
1112
#include "src/base/logging.h"

0 commit comments

Comments
 (0)