@@ -817,8 +817,7 @@ class Connection : public ConnectionIface,
817817 }
818818
819819 bool isSubjectToMetering () const {
820- return subject_to_metering.load (
821- std::memory_order::memory_order_acquire);
820+ return subject_to_metering.load (std::memory_order_acquire);
822821 }
823822
824823 // / Is this connection not to be throttled?
@@ -827,25 +826,22 @@ class Connection : public ConnectionIface,
827826 }
828827
829828 bool isSubjectToThrottling () const {
830- return subject_to_throttling.load (
831- std::memory_order::memory_order_acquire);
829+ return subject_to_throttling.load (std::memory_order_acquire);
832830 }
833831
834832 bool isNodeSupervisor () const {
835- return node_supervisor.load (std::memory_order:: memory_order_acquire);
833+ return node_supervisor.load (std::memory_order_acquire);
836834 }
837835
838836 // / Clear the DCP throttle for this connection to allow it to progress
839837 void resumeThrottledDcpStream ();
840838
841839 bool isNonBlockingThrottlingMode () const {
842- return non_blocking_throttling_mode.load (
843- std::memory_order::memory_order_acquire);
840+ return non_blocking_throttling_mode.load (std::memory_order_acquire);
844841 }
845842
846843 void setNonBlockingThrottlingMode (bool enable) {
847- non_blocking_throttling_mode.store (enable,
848- std::memory_order::memory_order_release);
844+ non_blocking_throttling_mode.store (enable, std::memory_order_release);
849845 }
850846
851847 /* *
0 commit comments