Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
e9eff488
Commit
e9eff488
authored
Apr 16, 2018
by
Gennadiy Civil
Browse files
msvc warnings
parent
bd2a1aed
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
googlemock/test/gmock-generated-matchers_test.cc
googlemock/test/gmock-generated-matchers_test.cc
+11
-0
No files found.
googlemock/test/gmock-generated-matchers_test.cc
View file @
e9eff488
...
...
@@ -31,6 +31,13 @@
//
// This file tests the built-in matchers generated by a script.
// Silence warning C4244: 'initializing': conversion from 'int' to 'short',
// possible loss of data
#ifdef _MSC_VER
# pragma warning(push)
# pragma warning(disable:C4244)
#endif
#include "gmock/gmock-generated-matchers.h"
#include <list>
...
...
@@ -1327,3 +1334,7 @@ TEST(MatcherPMacroTest, WorksOnMoveOnlyType) {
#endif // GTEST_LASNG_CXX11
}
// namespace
#ifdef _MSC_VER
# pragma warning(pop)
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment