[caffe2/aten] Remove loose #pragma warning ( pop ) in TensorBase.h (#64773)
authorElias Guestrin <elias.guestrin@fb.com>
Fri, 10 Sep 2021 06:44:03 +0000 (23:44 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 10 Sep 2021 06:45:45 +0000 (23:45 -0700)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/64773

Remove loose `#pragma warning ( pop )` in TensorBase.h.

Reviewed By: ezyang

Differential Revision: D30846958

fbshipit-source-id: 52a3fb66e426bc16ef7bde2a13e26e8293969026

aten/src/ATen/core/TensorBase.h

index e91e9e1..352aef9 100644 (file)
@@ -755,12 +755,6 @@ private:
   TensorBase __dispatch_contiguous(c10::MemoryFormat) const;
 };
 
-// For "multiple ... operators specified" warnings, closing brace of class
-// declaration must be included between pragma push & pop
-#ifdef _MSC_VER
-#pragma warning( pop )
-#endif
-
 inline int64_t get_device(const TensorBase& self) {
   return self.get_device();
 }