Skip to content

Commit

Permalink
fixup! fixup! src: make BuiltinLoader threadsafe and non-global
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax committed Jan 10, 2023
1 parent a26322c commit 591a4d1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/node.cc
Expand Up @@ -126,8 +126,6 @@

namespace node {

using builtins::BuiltinLoader;

using v8::EscapableHandleScope;
using v8::Isolate;
using v8::Local;
Expand Down
1 change: 0 additions & 1 deletion src/node_realm.cc
Expand Up @@ -8,7 +8,6 @@

namespace node {

using builtins::BuiltinLoader;
using v8::Context;
using v8::EscapableHandleScope;
using v8::Function;
Expand Down
4 changes: 2 additions & 2 deletions src/node_threadsafe_cow.h
Expand Up @@ -80,8 +80,8 @@ class ThreadsafeCopyOnWrite final {

private:
struct Impl {
Impl(const T& data) : data(data) {}
Impl(T&& data) : data(std::move(data)) {}
explicit Impl(const T& data) : data(data) {}
explicit Impl(T&& data) : data(std::move(data)) {}

Impl(const Impl& other);
Impl& operator=(const Impl& other) = delete;
Expand Down

0 comments on commit 591a4d1

Please sign in to comment.