merging heads

--HG--
branch : merge
This commit is contained in:
KjellKod 2013-12-10 10:36:21 -07:00
commit 7de3c5fe78
2 changed files with 3 additions and 3 deletions

View File

@ -132,7 +132,7 @@ namespace g2 {
error << "FATAL CALL but logger is NOT initialized\n"
<< "SIGNAL: " << message.get()->signal()
<< "\nMessage: \n" << message.get()->toString() << std::flush;
std::cerr << error << std::flush;
std::cerr << error.str() << std::flush;
internal::exitWithDefaultSignalHandler(message.get()->_signal_id);
}

View File

@ -13,7 +13,7 @@ using namespace g2;
namespace testing_helpers {
std::string g_mockFatal_message = {};
std::string g_mockFatal_message{};
int g_mockFatal_signal = -1;
bool g_mockFatalWasCalled = false;
@ -43,7 +43,7 @@ namespace testing_helpers {
void clearMockFatal() {
g_mockFatal_message = {};
g_mockFatal_message.clear();
g_mockFatal_signal = -1;
g_mockFatalWasCalled = false;
}