From 0a855e2a64c4afdf9f3e2f193b90987438f120c7 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Wed, 18 Dec 2019 18:13:59 +0100 Subject: [PATCH] Move all support functions inside 'namespace support' (#76) --- src/support.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/support.h b/src/support.h index e315d896..098a3403 100644 --- a/src/support.h +++ b/src/support.h @@ -46,7 +46,6 @@ inline static MaybeBool maybe_to_maybe_bool(v8::Maybe maybe) { return MaybeBool::JustFalse; } } -} // namespace support template inline static T* local_to_ptr(v8::Local local) { @@ -71,5 +70,6 @@ inline static v8::MaybeLocal ptr_to_maybe_local(T* ptr) { static_assert(sizeof(v8::MaybeLocal) == sizeof(T*), ""); return *reinterpret_cast*>(&ptr); } +} // namespace support #endif // SUPPORT_H_