Fix diagnostic pragmas (#17561)
authorSebastian Messmer <messmer@fb.com>
Fri, 1 Mar 2019 00:26:49 +0000 (16:26 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 1 Mar 2019 00:38:42 +0000 (16:38 -0800)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17561

The push at the top of the file was missing a corresponding pop

Reviewed By: ezyang

Differential Revision: D14254500

fbshipit-source-id: ff20359b563d6d6dcc68273dc754ab31aa8fad12

c10/util/flat_hash_map.h

index 96da070..2b5a9f3 100644 (file)
@@ -1513,3 +1513,7 @@ struct power_of_two_std_hash : std::hash<T>
 };
 
 } // end namespace ska
+
+#ifndef _MSC_VER
+#pragma GCC diagnostic pop
+#endif