diff options
author | Refael Ackermann <refack@gmail.com> | 2018-10-24 18:27:41 +0300 |
---|---|---|
committer | Refael Ackermann <refack@gmail.com> | 2018-10-24 23:34:36 +0300 |
commit | 586daae7fd1f08b8215955d2b638c5e13f1d7e84 (patch) | |
tree | f4e606be7b3915f0b7a31a974fac5ccb101f93ed /src/util-inl.h | |
parent | 4044b06c08314d3197fc2d8bd6177e7e870236e2 (diff) |
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>
Diffstat (limited to 'src/util-inl.h')
-rw-r--r-- | src/util-inl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util-inl.h b/src/util-inl.h index e945c614d49..0edf77496e9 100644 --- a/src/util-inl.h +++ b/src/util-inl.h @@ -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); } |