From 35a52aa33f7766635e310f1cf0611e281a0aa063 Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Thu, 28 Feb 2019 16:26:49 -0800 Subject: [PATCH] Fix diagnostic pragmas (#17561) 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/c10/util/flat_hash_map.h b/c10/util/flat_hash_map.h index 96da070..2b5a9f3 100644 --- a/c10/util/flat_hash_map.h +++ b/c10/util/flat_hash_map.h @@ -1513,3 +1513,7 @@ struct power_of_two_std_hash : std::hash }; } // end namespace ska + +#ifndef _MSC_VER +#pragma GCC diagnostic pop +#endif -- 2.7.4