Commit f2d92ec3 authored by Clemens Backes's avatar Clemens Backes Committed by Commit Bot

[base] Add missing include of <type_traits>

The missing include causes compilation failures for node.js, see
https://github.com/nodejs/node/pull/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.

R=mlippautz@chromium.org

Change-Id: Idb067679e597521230f94eb8c99f1347ed3808cb
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1868622Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#64386}
parent 2988633f
......@@ -6,6 +6,7 @@
#define V8_BASE_MACROS_H_
#include <limits>
#include <type_traits>
#include "src/base/compiler-specific.h"
#include "src/base/logging.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment