summaryrefslogtreecommitdiff
path: root/src/env.h
diff options
context:
space:
mode:
authorgengjiawen <technicalcute@gmail.com>2019-03-05 21:53:04 +0800
committerRuben Bridgewater <ruben@bridgewater.de>2019-03-09 00:32:54 +0100
commit68d18714f7bfe1286e72055c8e4e7a3e87a42a46 (patch)
tree1581ebcd158cc1a3336b43510c9f2413238918a6 /src/env.h
parentdd23fc1fd589d5d30e622414dda7c2eefcbe43a4 (diff)
downloadandroid-node-v8-68d18714f7bfe1286e72055c8e4e7a3e87a42a46.tar.gz
android-node-v8-68d18714f7bfe1286e72055c8e4e7a3e87a42a46.tar.bz2
android-node-v8-68d18714f7bfe1286e72055c8e4e7a3e87a42a46.zip
src: delete unused method SetTemplateMethod
PR-URL: https://github.com/nodejs/node/pull/26451 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'src/env.h')
-rw-r--r--src/env.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/env.h b/src/env.h
index 2a8091a92b..b269982a0b 100644
--- a/src/env.h
+++ b/src/env.h
@@ -874,9 +874,6 @@ class Environment {
inline void SetProtoMethod(v8::Local<v8::FunctionTemplate> that,
const char* name,
v8::FunctionCallback callback);
- inline void SetTemplateMethod(v8::Local<v8::FunctionTemplate> that,
- const char* name,
- v8::FunctionCallback callback);
// Safe variants denote the function has no side effects.
inline void SetMethodNoSideEffect(v8::Local<v8::Object> that,