summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>2018-07-06 15:35:00 +0200
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>2018-07-06 15:39:23 +0200
commita0b2212373b088c39c1f41f59f888a353113acae (patch)
treeedfaeb998adcafad959180b89b906d9da454f0be
parent98f4145b2c66edc897cd705852e47a6c26a76e53 (diff)
downloadlibcryptsvc-tizen_5.0.tar.gz
libcryptsvc-tizen_5.0.tar.bz2
libcryptsvc-tizen_5.0.zip
Remove unnecessary ifdef and (void). Change-Id: I971e950d87736bb422a29f3eb008be1f377fc3bf
-rw-r--r--test/colour_log_formatter.cc10
-rw-r--r--test/colour_log_formatter.h3
2 files changed, 3 insertions, 10 deletions
diff --git a/test/colour_log_formatter.cc b/test/colour_log_formatter.cc
index 00f3bd8..d026a82 100644
--- a/test/colour_log_formatter.cc
+++ b/test/colour_log_formatter.cc
@@ -329,25 +329,21 @@ colour_log_formatter::entry_context_finish(std::ostream& output)
//____________________________________________________________________________//
// adjustment to boost 1.65.1 and up
-#if BOOST_VERSION >= 106501
void
colour_log_formatter::log_entry_context(
std::ostream& os,
- boost::unit_test::log_level l,
+ boost::unit_test::log_level,
boost::unit_test::const_string value)
{
- (void)l;
- os <<< "\n " << value;
+ os << "\n " << value;
}
void
colour_log_formatter::entry_context_finish(
std::ostream& os,
- boost::unit_test::log_level l)
+ boost::unit_test::log_level)
{
- (void)l;
os.flush();
}
-#endif
//____________________________________________________________________________//
} // namespace cryptsvc
diff --git a/test/colour_log_formatter.h b/test/colour_log_formatter.h
index d6382d2..fca2037 100644
--- a/test/colour_log_formatter.h
+++ b/test/colour_log_formatter.h
@@ -67,7 +67,6 @@ public:
boost::unit_test::const_string value);
void entry_context_finish(std::ostream &);
-#if BOOST_VERSION >= 106501
void log_entry_context(
std::ostream &,
boost::unit_test::log_level,
@@ -75,8 +74,6 @@ public:
void entry_context_finish(
std::ostream &,
boost::unit_test::log_level);
-#endif
-
private:
bool m_isTestCaseFailed;