src: improve node::Dotenv declarations · nodejs/node@4347bd2 · GitHub
Skip to content

Commit 4347bd2

Browse files
tniessentargos
authored andcommitted
src: improve node::Dotenv declarations
There is no need to explicitly allow copy constructor and copy assignment, and some of these functions should be marked as const. PR-URL: #52973 Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
1 parent 4c65c52 commit 4347bd2

2 files changed

Lines changed: 6 additions & 10 deletions

File tree

src/node_dotenv.cc

Lines changed: 2 additions & 6 deletions

src/node_dotenv.h

Lines changed: 4 additions & 4 deletions

0 commit comments

Comments
 (0)