0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00

Minor cleanup thanks to clang-tidy

This commit is contained in:
rbock 2017-09-10 15:54:59 +02:00
parent d112d714b9
commit 00d10b5365
4 changed files with 4 additions and 8 deletions

View File

@ -45,9 +45,7 @@ namespace sqlpp
using _value_t = ::sqlpp::chrono::day_point; using _value_t = ::sqlpp::chrono::day_point;
day_point_operand() day_point_operand() = default;
{
}
day_point_operand(_value_t t) : _t(t) day_point_operand(_value_t t) : _t(t)
{ {

View File

@ -45,9 +45,7 @@ namespace sqlpp
using _value_t = std::string; using _value_t = std::string;
text_operand() text_operand() = default;
{
}
text_operand(_value_t t) : _t(std::move(t)) text_operand(_value_t t) : _t(std::move(t))
{ {

View File

@ -77,7 +77,7 @@ namespace sqlpp
inline auto verbatim(std::string s) -> verbatim_t<no_value_t> inline auto verbatim(std::string s) -> verbatim_t<no_value_t>
{ {
return {s}; return {std::move(s)};
} }
} // namespace sqlpp } // namespace sqlpp

View File

@ -90,7 +90,7 @@ namespace sqlpp
inline verbatim_table_t verbatim_table(std::string name) inline verbatim_table_t verbatim_table(std::string name)
{ {
return {name}; return {std::move(name)};
} }
} // namespace sqlpp } // namespace sqlpp