From 4b860dfc42e68c0098c0b5b348b3189c10c977c6 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Thu, 27 Jul 2017 13:31:22 +0200 Subject: [PATCH] fix build second try --- test/unit/utProfiler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/utProfiler.cpp b/test/unit/utProfiler.cpp index 75e25e5ba..ea71dd688 100644 --- a/test/unit/utProfiler.cpp +++ b/test/unit/utProfiler.cpp @@ -51,7 +51,7 @@ class utProfiler : public ::testing::Test { public: LogStream *m_stream; - virtual void SetUp() { + /*virtual void SetUp() { m_stream = new UTLogStream; DefaultLogger::create(); DefaultLogger::get()->attachStream( m_stream ); @@ -60,7 +60,7 @@ public: virtual void TearDown() { DefaultLogger::get()->detatchStream( m_stream ); m_stream = nullptr; - } + }*/ }; TEST_F( utProfiler, addRegion_success ) { @@ -71,6 +71,6 @@ TEST_F( utProfiler, addRegion_success ) { j++; } myProfiler.EndRegion( "t1" ); - UTLogStream *stream( (UTLogStream*) m_stream ); + //UTLogStream *stream( (UTLogStream*) m_stream ); //EXPECT_FALSE( stream->m_messages.empty() ); }