@@ -462,6 +462,8 @@ class IsolateData : public MemoryRetainer {
462
462
inline v8::Isolate* isolate () const ;
463
463
IsolateData (const IsolateData&) = delete ;
464
464
IsolateData& operator =(const IsolateData&) = delete ;
465
+ IsolateData (IsolateData&&) = delete ;
466
+ IsolateData& operator =(IsolateData&&) = delete ;
465
467
466
468
private:
467
469
void DeserializeProperties (const std::vector<size_t >* indexes);
@@ -552,6 +554,12 @@ class AsyncRequest : public MemoryRetainer {
552
554
public:
553
555
AsyncRequest () = default ;
554
556
~AsyncRequest ();
557
+
558
+ AsyncRequest (const AsyncRequest&) = delete ;
559
+ AsyncRequest& operator =(const AsyncRequest&) = delete ;
560
+ AsyncRequest (AsyncRequest&&) = delete ;
561
+ AsyncRequest& operator =(AsyncRequest&&) = delete ;
562
+
555
563
void Install (Environment* env, void * data, uv_async_cb target);
556
564
void Uninstall ();
557
565
void Stop ();
@@ -636,6 +644,9 @@ class AsyncHooks : public MemoryRetainer {
636
644
637
645
AsyncHooks (const AsyncHooks&) = delete ;
638
646
AsyncHooks& operator =(const AsyncHooks&) = delete ;
647
+ AsyncHooks (AsyncHooks&&) = delete ;
648
+ AsyncHooks& operator =(AsyncHooks&&) = delete ;
649
+ ~AsyncHooks () = default ;
639
650
640
651
// Used to set the kDefaultTriggerAsyncId in a scope. This is instead of
641
652
// passing the trigger_async_id along with other constructor arguments.
@@ -650,6 +661,9 @@ class AsyncHooks : public MemoryRetainer {
650
661
DefaultTriggerAsyncIdScope (const DefaultTriggerAsyncIdScope&) = delete ;
651
662
DefaultTriggerAsyncIdScope& operator =(const DefaultTriggerAsyncIdScope&) =
652
663
delete ;
664
+ DefaultTriggerAsyncIdScope (DefaultTriggerAsyncIdScope&&) = delete ;
665
+ DefaultTriggerAsyncIdScope& operator =(DefaultTriggerAsyncIdScope&&) =
666
+ delete ;
653
667
654
668
private:
655
669
AsyncHooks* async_hooks_;
@@ -679,6 +693,8 @@ class AsyncCallbackScope {
679
693
~AsyncCallbackScope ();
680
694
AsyncCallbackScope (const AsyncCallbackScope&) = delete ;
681
695
AsyncCallbackScope& operator =(const AsyncCallbackScope&) = delete ;
696
+ AsyncCallbackScope (AsyncCallbackScope&&) = delete ;
697
+ AsyncCallbackScope& operator =(AsyncCallbackScope&&) = delete ;
682
698
683
699
private:
684
700
Environment* env_;
@@ -697,6 +713,9 @@ class ImmediateInfo : public MemoryRetainer {
697
713
698
714
ImmediateInfo (const ImmediateInfo&) = delete ;
699
715
ImmediateInfo& operator =(const ImmediateInfo&) = delete ;
716
+ ImmediateInfo (ImmediateInfo&&) = delete ;
717
+ ImmediateInfo& operator =(ImmediateInfo&&) = delete ;
718
+ ~ImmediateInfo () = default ;
700
719
701
720
SET_MEMORY_INFO_NAME (ImmediateInfo)
702
721
SET_SELF_SIZE (ImmediateInfo)
@@ -723,6 +742,9 @@ class TickInfo : public MemoryRetainer {
723
742
724
743
TickInfo (const TickInfo&) = delete ;
725
744
TickInfo& operator =(const TickInfo&) = delete ;
745
+ TickInfo (TickInfo&&) = delete ;
746
+ TickInfo& operator =(TickInfo&&) = delete ;
747
+ ~TickInfo () = default ;
726
748
727
749
private:
728
750
friend class Environment ; // So we can call the constructor.
@@ -757,6 +779,12 @@ class ShouldNotAbortOnUncaughtScope {
757
779
explicit inline ShouldNotAbortOnUncaughtScope (Environment* env);
758
780
inline void Close ();
759
781
inline ~ShouldNotAbortOnUncaughtScope ();
782
+ ShouldNotAbortOnUncaughtScope (const ShouldNotAbortOnUncaughtScope&) = delete ;
783
+ ShouldNotAbortOnUncaughtScope& operator =(
784
+ const ShouldNotAbortOnUncaughtScope&) = delete ;
785
+ ShouldNotAbortOnUncaughtScope (ShouldNotAbortOnUncaughtScope&&) = delete ;
786
+ ShouldNotAbortOnUncaughtScope& operator =(ShouldNotAbortOnUncaughtScope&&) =
787
+ delete ;
760
788
761
789
private:
762
790
Environment* env_;
@@ -796,6 +824,8 @@ class Environment : public MemoryRetainer {
796
824
public:
797
825
Environment (const Environment&) = delete ;
798
826
Environment& operator =(const Environment&) = delete ;
827
+ Environment (Environment&&) = delete ;
828
+ Environment& operator =(Environment&&) = delete ;
799
829
800
830
SET_MEMORY_INFO_NAME (Environment)
801
831
0 commit comments