diff --git a/src/node.cc b/src/node.cc index 154cbf1c801ea0..3fac1e897a62de 100644 --- a/src/node.cc +++ b/src/node.cc @@ -2077,7 +2077,8 @@ node_module* get_linked_module(const char* name) { return FindModule(modlist_linked, name, NM_F_LINKED); } -struct DLib { +class DLib { + public: #ifdef __POSIX__ static const int kDefaultFlags = RTLD_LAZY; #else @@ -2098,7 +2099,7 @@ struct DLib { #ifndef __POSIX__ uv_lib_t lib_; #endif - + private: DISALLOW_COPY_AND_ASSIGN(DLib); };