diff options
author | Krzysztof Jackiewicz <k.jackiewicz@samsung.com> | 2018-07-06 15:35:00 +0200 |
---|---|---|
committer | Krzysztof Jackiewicz <k.jackiewicz@samsung.com> | 2018-07-06 15:39:23 +0200 |
commit | a0b2212373b088c39c1f41f59f888a353113acae (patch) | |
tree | edfaeb998adcafad959180b89b906d9da454f0be | |
parent | 98f4145b2c66edc897cd705852e47a6c26a76e53 (diff) | |
download | libcryptsvc-tizen_5.0.tar.gz libcryptsvc-tizen_5.0.tar.bz2 libcryptsvc-tizen_5.0.zip |
Make libcryptsvc compile with boost 1.65submit/tizen_5.0/20181101.000004submit/tizen/20180709.064753accepted/tizen/unified/20180709.132419accepted/tizen/5.0/unified/20181102.022020tizen_5.0accepted/tizen_5.0_unified
Remove unnecessary ifdef and (void).
Change-Id: I971e950d87736bb422a29f3eb008be1f377fc3bf
-rw-r--r-- | test/colour_log_formatter.cc | 10 | ||||
-rw-r--r-- | test/colour_log_formatter.h | 3 |
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; |