lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 9f5ada6 1/3: Eliminate an unnecessary "BOOST"


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 9f5ada6 1/3: Eliminate an unnecessary "BOOST" macro
Date: Wed, 3 Mar 2021 08:01:57 -0500 (EST)

branch: master
commit 9f5ada6b841fcf969caef3f92ee8f847b40018f9
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Eliminate an unnecessary "BOOST" macro
---
 test_tools.hpp | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/test_tools.hpp b/test_tools.hpp
index 711a62c..9c015de 100644
--- a/test_tools.hpp
+++ b/test_tools.hpp
@@ -278,14 +278,11 @@ namespace lmi_test
     void record_error();
 } // namespace lmi_test
 
-// For convenience, include lower-level layers. The original boost
-// library did this only if BOOST_INCLUDE_MAIN had been defined; that
-// macro is retained here as documentation of this change.
-#define BOOST_INCLUDE_MAIN
-#if defined BOOST_INCLUDE_MAIN
-#   include "cpp_main.cpp"
-#   include "test_main.cpp"
-#endif // defined BOOST_INCLUDE_MAIN
+// For convenience, include lower-level layers. (The original boost
+// library did this only if BOOST_INCLUDE_MAIN had been defined.)
+
+#include "cpp_main.cpp"
+#include "test_main.cpp"
 
 // Deprecated macros.
 //



reply via email to

[Prev in Thread] Current Thread [Next in Thread]