Skip to content

Commit

Permalink
Mark clang-tidy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Feb 2, 2020
1 parent d867a3c commit e1e5cc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/tao/pq/connection_pool.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ namespace tao::pq
};

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

Expand Down
6 changes: 3 additions & 3 deletions include/tao/pq/parameter_binary_traits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ namespace tao::pq
static_assert( sizeof( short ) == 2 );

explicit parameter_binary_traits( const short v ) noexcept
: m_v( bswap_16( v ) )
: m_v( bswap_16( v ) ) // NOLINT(readability-isolate-declaration)
{}

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

explicit parameter_binary_traits( const int v ) noexcept
: m_v( bswap_32( v ) )
: m_v( bswap_32( v ) ) // NOLINT(readability-isolate-declaration)
{}

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

explicit parameter_binary_traits( const long v ) noexcept
: m_v( bswap_64( v ) )
: m_v( bswap_64( v ) ) // NOLINT(readability-isolate-declaration)
{}

static constexpr std::size_t columns = 1;
Expand Down

0 comments on commit e1e5cc0

Please sign in to comment.