Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! fixup! src: make BuiltinLoader threadsafe and non-global
  • Loading branch information
addaleax committed Jan 17, 2023
commit 1bfd5acc4af1b374db6792a65a5808aeb76e345e
2 changes: 0 additions & 2 deletions src/node.cc
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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