mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
src: add direct dependency on *-inl.h file
PR-URL: https://github.com/nodejs/node/pull/23808 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Matheus Marchini <mat@mmarchini.me>
This commit is contained in:
1 parent
33e7f6e953
commit
25a9eee9fd
3 files changed
+5
-4
No files matched your search
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <functional>
|
||||
#include <unicode/unistr.h>
|
||||
#include "util-inl.h"
|
||||
|
||||
namespace node {
|
||||
namespace inspector {
|
||||
|
||||
+2
-2
@@ -160,8 +160,8 @@ ContainerOfHelper<Inner, Outer>::operator TypeName*() const {
|
||||
}
|
||||
|
||||
template <typename Inner, typename Outer>
|
||||
inline ContainerOfHelper<Inner, Outer> ContainerOf(Inner Outer::*field,
|
||||
Inner* pointer) {
|
||||
constexpr ContainerOfHelper<Inner, Outer> ContainerOf(Inner Outer::*field,
|
||||
Inner* pointer) {
|
||||
return ContainerOfHelper<Inner, Outer>(field, pointer);
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -198,8 +198,8 @@ class ContainerOfHelper {
|
||||
// Calculate the address of the outer (i.e. embedding) struct from
|
||||
// the interior pointer to a data member.
|
||||
template <typename Inner, typename Outer>
|
||||
inline ContainerOfHelper<Inner, Outer> ContainerOf(Inner Outer::*field,
|
||||
Inner* pointer);
|
||||
constexpr ContainerOfHelper<Inner, Outer> ContainerOf(Inner Outer::*field,
|
||||
Inner* pointer);
|
||||
|
||||
// Convenience wrapper around v8::String::NewFromOneByte().
|
||||
inline v8::Local<v8::String> OneByteString(v8::Isolate* isolate,
|
||||
|
||||
Reference in new issue
Block a user