We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db9b9e0 commit de15de1Copy full SHA for de15de1
1 file changed
libs/common/include/s25util/boostTestHelpers.h
@@ -0,0 +1,14 @@
1
+// Copyright (C) 2001 Gennadiy Rozental
2
+// Copyright (C) 2005 - 2021 Settlers Freaks (sf-team at siedler25.org)
3
+//
4
+// SPDX-License-Identifier: BSL-1.0
5
+
6
+#pragma once
7
8
+#include <boost/version.hpp>
9
10
+#if BOOST_VERSION < 107000
11
+# define BOOST_TEST_INFO_SCOPE(context_descr) \
12
+ ::boost::test_tools::tt_detail::context_frame BOOST_JOIN(context_frame_, __LINE__) = \
13
+ ::boost::test_tools::tt_detail::context_frame(BOOST_TEST_LAZY_MSG(context_descr))
14
+#endif
0 commit comments