From: Sebastian Messmer Date: Fri, 1 Mar 2019 00:26:49 +0000 (-0800) Subject: Fix diagnostic pragmas (#17561) X-Git-Tag: accepted/tizen/6.5/unified/20211028.231830~1028 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=35a52aa33f7766635e310f1cf0611e281a0aa063;p=platform%2Fupstream%2Fpytorch.git 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 --- 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