Skip to content

Commit e1e5cc0

Browse files
committed
Mark clang-tidy issues
1 parent d867a3c commit e1e5cc0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

include/tao/pq/connection_pool.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ namespace tao::pq
3636
};
3737

3838
public:
39-
connection_pool( const private_key& /*unused*/, const std::string& connection_info ) noexcept
39+
connection_pool( const private_key& /*unused*/, const std::string& connection_info ) noexcept // NOLINT(modernize-pass-by-value)
4040
: m_connection_info( connection_info )
4141
{}
4242

include/tao/pq/parameter_binary_traits.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ namespace tao::pq
140140
static_assert( sizeof( short ) == 2 );
141141

142142
explicit parameter_binary_traits( const short v ) noexcept
143-
: m_v( bswap_16( v ) )
143+
: m_v( bswap_16( v ) ) // NOLINT(readability-isolate-declaration)
144144
{}
145145

146146
static constexpr std::size_t columns = 1;
@@ -178,7 +178,7 @@ namespace tao::pq
178178
static_assert( sizeof( int ) == 4 );
179179

180180
explicit parameter_binary_traits( const int v ) noexcept
181-
: m_v( bswap_32( v ) )
181+
: m_v( bswap_32( v ) ) // NOLINT(readability-isolate-declaration)
182182
{}
183183

184184
static constexpr std::size_t columns = 1;
@@ -216,7 +216,7 @@ namespace tao::pq
216216
static_assert( sizeof( long ) == 8 );
217217

218218
explicit parameter_binary_traits( const long v ) noexcept
219-
: m_v( bswap_64( v ) )
219+
: m_v( bswap_64( v ) ) // NOLINT(readability-isolate-declaration)
220220
{}
221221

222222
static constexpr std::size_t columns = 1;

0 commit comments

Comments
 (0)