Make libcryptsvc compile with boost 1.65 64/183564/1 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181102.022020 accepted/tizen/unified/20180709.132419 submit/tizen/20180709.064753 submit/tizen_5.0/20181101.000004
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Fri, 6 Jul 2018 13:35:00 +0000 (15:35 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Fri, 6 Jul 2018 13:39:23 +0000 (15:39 +0200)
Remove unnecessary ifdef and (void).

Change-Id: I971e950d87736bb422a29f3eb008be1f377fc3bf

test/colour_log_formatter.cc
test/colour_log_formatter.h

index 00f3bd8..d026a82 100644 (file)
@@ -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
index d6382d2..fca2037 100644 (file)
@@ -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;