Skip to content

Commit d867a3c

Browse files
committed
Fix clang-tidy problems
1 parent ccb1ca1 commit d867a3c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/pq/traits.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace example
1919
: a( i ), b( i + 1 ), c( i + 2 ), d( i + 3 )
2020
{}
2121

22-
auto to_taopq_param() const noexcept
22+
[[nodiscard]] auto to_taopq_param() const noexcept
2323
{
2424
return std::tie( a, b, c, d );
2525
}
@@ -34,7 +34,7 @@ namespace example
3434
{}
3535
};
3636

37-
auto to_taopq_param( const user2& v ) noexcept
37+
[[nodiscard]] auto to_taopq_param( const user2& v ) noexcept
3838
{
3939
return std::tie( v.a, v.b, v.c, v.d );
4040
}
@@ -87,7 +87,7 @@ void run()
8787
}
8888
}
8989

90-
int main()
90+
int main() //NOLINT(bugprone-exception-escape)
9191
{
9292
try {
9393
run();

0 commit comments

Comments
 (0)