1234567891011121314151617181920212223242526272829 |
- From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
- From: Jaime Bernardo <[email protected]>
- Date: Tue, 1 Oct 2019 20:06:03 +0100
- Subject: Include string in v8.h
- Explicitly #include<string> in v8.h, since std::string is referenced
- in it. In the C++ STL shipped with Visual Studio 2019, none of the
- headers included in v8.h ends up including the C++ string header, which
- caused a compile error.
- Bug: v8:9793
- Change-Id: I84a133dd10dd6dcc7b70287af393e82cf0dc97df
- Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1834321
- Reviewed-by: Adam Klein <[email protected]>
- Commit-Queue: Adam Klein <[email protected]>
- Cr-Commit-Position: refs/heads/master@{#64074}
- diff --git a/include/v8.h b/include/v8.h
- index f5b6caaee19b7abb0ee4d98615988d1d8b14035c..36017a0a974ed6afd10c9df932e10812ed1e9769 100644
- --- a/include/v8.h
- +++ b/include/v8.h
- @@ -19,6 +19,7 @@
- #include <stdint.h>
- #include <stdio.h>
- #include <memory>
- +#include <string>
- #include <type_traits>
- #include <utility>
- #include <vector>
|