Skip to content

Commit 24ad673

Browse files
committed
Added comments at closing namespaces and at #endifs
1 parent 1914d18 commit 24ad673

35 files changed

+77
-77
lines changed

include/boost/leaf.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#ifndef BOOST_LEAF_HPP_INCLUDED
22
#define BOOST_LEAF_HPP_INCLUDED
33

4-
// Copyright 2018-2024 Emil Dotchevski and Reverge Studios, Inc.
4+
// Copyright 2018-2025 Emil Dotchevski and Reverge Studios, Inc.
55
// Distributed under the Boost Software License, Version 1.0. (See accompanying
66
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
77

88
#include <boost/leaf/detail/all.hpp>
99

10-
#endif
10+
#endif // #ifndef BOOST_LEAF_HPP_INCLUDED

include/boost/leaf/config/tls_freertos.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ namespace tls
3939

4040
} }
4141

42-
#endif // BOOST_LEAF_CONFIG_TLS_FREERTOS_HPP_INCLUDED
42+
#endif // #ifndef BOOST_LEAF_CONFIG_TLS_FREERTOS_HPP_INCLUDED

include/boost/leaf/to_variant.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef BOOST_LEAF_TO_VARIANT_HPP_INCLUDED
22
#define BOOST_LEAF_TO_VARIANT_HPP_INCLUDED
33

4-
// Copyright 2018-2024 Emil Dotchevski and Reverge Studios, Inc.
4+
// Copyright 2018-2025 Emil Dotchevski and Reverge Studios, Inc.
55
// Distributed under the Boost Software License, Version 1.0. (See accompanying
66
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
77

@@ -42,8 +42,8 @@ to_variant( TryBlock && try_block )
4242
} );
4343
}
4444

45-
} }
45+
} } // namespace boost::leaf
4646

47-
#endif
47+
#endif // #if __cplusplus >= 201703L
4848

49-
#endif // BOOST_LEAF_TO_VARIANT_HPP_INCLUDED
49+
#endif // #ifndef BOOST_LEAF_TO_VARIANT_HPP_INCLUDED

test/capture_exception_async_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,4 +155,4 @@ int main()
155155
return boost::report_errors();
156156
}
157157

158-
#endif
158+
#endif // #if defined(BOOST_LEAF_NO_EXCEPTIONS) || defined(BOOST_LEAF_NO_THREADS) || !BOOST_LEAF_CFG_CAPTURE

test/capture_exception_result_async_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,4 +154,4 @@ int main()
154154
return boost::report_errors();
155155
}
156156

157-
#endif
157+
#endif // #if defined(BOOST_LEAF_NO_EXCEPTIONS) || defined(BOOST_LEAF_NO_THREADS) || !BOOST_LEAF_CFG_CAPTURE

test/capture_exception_result_unload_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,4 +185,4 @@ int main()
185185
return boost::report_errors();
186186
}
187187

188-
#endif
188+
#endif // #if defined(BOOST_LEAF_NO_EXCEPTIONS) || !BOOST_LEAF_CFG_CAPTURE

test/capture_exception_state_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ int main()
8282
BOOST_TEST_NE(s.find("info<3> instance"), s.npos);
8383
}
8484
}
85-
#endif
85+
#endif // #if BOOST_LEAF_CFG_STD_STRING
8686

8787
int ret = leaf::try_catch(
8888
[&]
@@ -104,4 +104,4 @@ int main()
104104
return boost::report_errors();
105105
}
106106

107-
#endif
107+
#endif // #if defined(BOOST_LEAF_NO_EXCEPTIONS) || !BOOST_LEAF_CFG_CAPTURE

test/capture_exception_unload_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,4 +183,4 @@ int main()
183183
return boost::report_errors();
184184
}
185185

186-
#endif
186+
#endif // #if defined(BOOST_LEAF_NO_EXCEPTIONS) || !BOOST_LEAF_CFG_CAPTURE

test/capture_result_async_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,4 @@ int main()
156156
return boost::report_errors();
157157
}
158158

159-
#endif
159+
#endif // #if defined(BOOST_LEAF_NO_THREADS) || !BOOST_LEAF_CFG_CAPTURE

test/capture_result_state_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ int main()
8181
BOOST_TEST_NE(s.find("info<3> instance"), s.npos);
8282
}
8383
}
84-
#endif
84+
#endif // #if BOOST_LEAF_CFG_STD_STRING
8585

8686
int ret = leaf::try_handle_all(
8787
[&]
@@ -103,4 +103,4 @@ int main()
103103
return boost::report_errors();
104104
}
105105

106-
#endif
106+
#endif // #if !BOOST_LEAF_CFG_CAPTURE

0 commit comments

Comments
 (0)