File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 1616
1717#pragma once
1818
19+ #include <folly/Portability.h>
20+
21+ // Disable a couple of warnings due to GMock exporting classes
22+ // that derive from stdlib classes which aren't explicitly exported.
23+ FOLLY_PUSH_WARNING
24+ FOLLY_MSVC_DISABLE_WARNING (4251 )
25+ FOLLY_MSVC_DISABLE_WARNING (4275 )
26+ // IWYU pragma: begin_exports
1927#include <gmock/gmock.h>
28+ // IWYU pragma: end_exports
29+ FOLLY_POP_WARNING
Original file line number Diff line number Diff line change 1616
1717#pragma once
1818
19+ #include <folly/Portability.h>
20+
21+ // Disable a couple of warnings due to GTest exporting classes
22+ // that derive from stdlib classes which aren't explicitly exported.
23+ FOLLY_PUSH_WARNING
24+ FOLLY_MSVC_DISABLE_WARNING (4251 )
25+ FOLLY_MSVC_DISABLE_WARNING (4275 )
26+ // IWYU pragma: begin_exports
1927#include <gtest/gtest.h>
28+ // IWYU pragma: end_exports
29+ FOLLY_POP_WARNING
You can’t perform that action at this time.
0 commit comments