Skip to content

Commit f06f836

Browse files
danbevjasnell
authored andcommittedMay 28, 2017
crypto: remove unnecessary template class
I came across this template class but I don't understand why it is there. It is not used in the template specialization following it. I just wanted to bring it up just in case this is something that has been overlooked. PR-URL: #12993 Reviewed-By: Fedor Indutny <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 6cfb876 commit f06f836

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎src/node_crypto.cc

-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ std::string extra_root_certs_file; // NOLINT(runtime/string)
155155
X509_STORE* root_cert_store;
156156

157157
// Just to generate static methods
158-
template class SSLWrap<TLSWrap>;
159158
template void SSLWrap<TLSWrap>::AddMethods(Environment* env,
160159
Local<FunctionTemplate> t);
161160
template void SSLWrap<TLSWrap>::InitNPN(SecureContext* sc);

0 commit comments

Comments
 (0)
Please sign in to comment.