Skip to content

Commit f09357c

Browse files
committed
fix lint issues
1 parent e8e077c commit f09357c

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

Diff for: include/boost/pfr/core_name.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ constexpr auto get_name() noexcept {
4040
template <class T>
4141
constexpr auto names_as_array() noexcept {
4242
return detail::make_stdarray_from_tietuple(
43-
detail::tie_as_names_tuple<T>(),
44-
detail::make_index_sequence< tuple_size_v<T> >()
43+
detail::tie_as_names_tuple<T>(),
44+
detail::make_index_sequence< tuple_size_v<T> >()
4545
);
4646
}
4747

Diff for: include/boost/pfr/detail/core_name14_disabled.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ template <class T>
2828
constexpr auto tie_as_names_tuple() noexcept {
2929
static_assert(
3030
sizeof(T) && false,
31-
"====================> Boost.PFR: Extraction of field's names is allowed only in C++20"
31+
"====================> Boost.PFR: Extraction of field's names is allowed only in C++20"
3232
);
3333

3434
return detail::make_sequence_tuple();

Diff for: include/boost/pfr/detail/core_name20_static.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ constexpr auto tie_as_names_tuple() noexcept {
6767
);
6868
static_assert(
6969
sizeof(T) && BOOST_PFR_USE_CPP17,
70-
"====================> Boost.PFR: Extraction of field's names is allowed only when the BOOST_PFR_USE_CPP17 macro enabled."
70+
"====================> Boost.PFR: Extraction of field's names is allowed only when the BOOST_PFR_USE_CPP17 macro enabled."
7171
);
7272

7373
return tie_as_names_tuple_impl<T>(detail::make_index_sequence<detail::fields_count<T>()>{});

Diff for: test/config/print_config.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ int main() {
1414
<< "BOOST_PFR_USE_STD_MAKE_INTEGRAL_SEQUENCE == " << BOOST_PFR_USE_STD_MAKE_INTEGRAL_SEQUENCE << '\n'
1515
<< "BOOST_PFR_HAS_GUARANTEED_COPY_ELISION == " << BOOST_PFR_HAS_GUARANTEED_COPY_ELISION << '\n'
1616
<< "BOOST_PFR_ENABLE_IMPLICIT_REFLECTION == " << BOOST_PFR_ENABLE_IMPLICIT_REFLECTION << '\n'
17-
<< "BOOST_PFR_ENABLE_GETTING_NAMES == " << BOOST_PFR_ENABLE_GETTING_NAMES << '\n'
17+
<< "BOOST_PFR_ENABLE_GETTING_NAMES == " << BOOST_PFR_ENABLE_GETTING_NAMES << '\n'
1818
<< "BOOST_PFR_ENABLED == " << BOOST_PFR_ENABLED << '\n'
1919
<< "__cplusplus == " << __cplusplus << '\n'
2020
#ifdef __cpp_structured_bindings

Diff for: test/core_name/fields_names.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ void test_get_name_by_type() {
4747
void test_names_as_array() {
4848
const auto expected = std::array<std::string_view, 4>{
4949
"member1",
50-
"this_is_a_name",
51-
"c",
52-
"Forth"
50+
"this_is_a_name",
51+
"c",
52+
"Forth"
5353
};
5454
const auto value = boost::pfr::names_as_array<Aggregate>();
5555
BOOST_TEST_EQ(expected.size(), value.size());

Diff for: test/core_name/fields_names_constexpr.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ static_assert(boost::pfr::get_name<2, Aggregate>() == "c");
3030
static_assert(boost::pfr::get_name<3, Aggregate>() == "Forth");
3131

3232
static_assert(boost::pfr::names_as_array<Aggregate>() == std::array<std::string_view, 4>{
33-
"member1",
34-
"this_is_a_name",
35-
"c",
36-
"Forth"
37-
});
33+
"member1",
34+
"this_is_a_name",
35+
"c",
36+
"Forth"
37+
});
3838

3939
int main() {}
4040

0 commit comments

Comments
 (0)