mirror of https://github.com/nodejs/node.git
src,build: add no user defined deduction guides of CTAD check
PR-URL: https://github.com/nodejs/node/pull/56071 Refs: https://google.github.io/styleguide/cppguide.html#CTAD Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com>pull/56123/head
parent
9cd9f43460
commit
4211ab56cc
1
node.gyp
1
node.gyp
|
@ -482,6 +482,7 @@
|
|||
'-Wno-unused-parameter',
|
||||
'-Werror=undefined-inline',
|
||||
'-Werror=extra-semi',
|
||||
'-Werror=ctad-maybe-unsupported',
|
||||
],
|
||||
},
|
||||
|
||||
|
|
|
@ -27,7 +27,11 @@
|
|||
|
||||
'conditions': [
|
||||
[ 'clang==1', {
|
||||
'cflags': [ '-Werror=undefined-inline', '-Werror=extra-semi']
|
||||
'cflags': [
|
||||
'-Werror=undefined-inline',
|
||||
'-Werror=extra-semi',
|
||||
'-Werror=ctad-maybe-unsupported',
|
||||
],
|
||||
}],
|
||||
[ '"<(_type)"=="executable"', {
|
||||
'msvs_settings': {
|
||||
|
|
|
@ -1531,7 +1531,7 @@ void Session::EmitDatagram(Store&& datagram, DatagramReceivedFlags flag) {
|
|||
DCHECK(!is_destroyed());
|
||||
if (!env()->can_call_into_js()) return;
|
||||
|
||||
CallbackScope cbv_scope(this);
|
||||
CallbackScope<Session> cbv_scope(this);
|
||||
|
||||
Local<Value> argv[] = {datagram.ToUint8Array(env()),
|
||||
v8::Boolean::New(env()->isolate(), flag.early)};
|
||||
|
|
Loading…
Reference in New Issue