Merge pull request #55 from KjellKod/test_warnings

removed gcc5.2 warnings
This commit is contained in:
Kjell Hedström 2015-10-03 16:15:26 -06:00
commit 17756a2657

View File

@ -350,7 +350,7 @@ TEST(LogTest, FatalSIGTERM__UsingCustomHandler) {
g3::overrideSetupSignals({ {SIGABRT, "SIGABRT"}, {SIGFPE, "SIGFPE"}, {SIGILL, "SIGILL"}});
installCustomSIGTERM();
EXPECT_EQ(customFatalCounter, 0);
EXPECT_EQ(customFatalCounter.load(), size_t{0});
EXPECT_EQ(lastEncounteredSignal.load(), 0);
@ -358,7 +358,8 @@ TEST(LogTest, FatalSIGTERM__UsingCustomHandler) {
logger.reset();
EXPECT_EQ(g_fatal_counter.load(), size_t{0});
EXPECT_EQ(lastEncounteredSignal.load(), SIGTERM);
EXPECT_EQ(customFatalCounter, 1);
EXPECT_EQ(customFatalCounter.load(), size_t{1});
}