From d112d714b9b5eef8f27020ad2d0980c43a620521 Mon Sep 17 00:00:00 2001 From: rbock Date: Sun, 10 Sep 2017 15:46:54 +0200 Subject: [PATCH] clang-tidy readbility fixes --- include/sqlpp11/data_types/day_point/operand.h | 2 +- include/sqlpp11/data_types/text/operand.h | 2 +- include/sqlpp11/select_flag_list.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/sqlpp11/data_types/day_point/operand.h b/include/sqlpp11/data_types/day_point/operand.h index e913eb90..55acdb2d 100644 --- a/include/sqlpp11/data_types/day_point/operand.h +++ b/include/sqlpp11/data_types/day_point/operand.h @@ -45,7 +45,7 @@ namespace sqlpp using _value_t = ::sqlpp::chrono::day_point; - day_point_operand() : _t{} + day_point_operand() { } diff --git a/include/sqlpp11/data_types/text/operand.h b/include/sqlpp11/data_types/text/operand.h index ba8c9cfa..aaeb9df0 100644 --- a/include/sqlpp11/data_types/text/operand.h +++ b/include/sqlpp11/data_types/text/operand.h @@ -45,7 +45,7 @@ namespace sqlpp using _value_t = std::string; - text_operand() : _t{} + text_operand() { } diff --git a/include/sqlpp11/select_flag_list.h b/include/sqlpp11/select_flag_list.h index 3a460685..92ec5ba1 100644 --- a/include/sqlpp11/select_flag_list.h +++ b/include/sqlpp11/select_flag_list.h @@ -248,7 +248,7 @@ namespace sqlpp static Context& _(const T& t, Context& context) { interpret_tuple(t._flags, ' ', context); - if (sizeof...(Flags)) + if (sizeof...(Flags) != 0u) { context << ' '; }