mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-01-01 18:51:15 -06:00
Fixed warnings about missing initializers
This commit is contained in:
@@ -90,7 +90,7 @@ namespace sqlpp
|
||||
|
||||
return { _lhs,
|
||||
_rhs,
|
||||
{std::tuple<Expr...>{expr...}}
|
||||
{std::tuple<Expr...>{expr...}, {}}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -98,35 +98,35 @@ namespace sqlpp
|
||||
join_t<inner_join_t, join_t, T> join(T t)
|
||||
{
|
||||
static_assert(not is_noop<On>::value, "join type requires on()");
|
||||
return { *this, t };
|
||||
return { *this, t, {} };
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
join_t<inner_join_t, join_t, T> inner_join(T t)
|
||||
{
|
||||
static_assert(not is_noop<On>::value, "join type requires on()");
|
||||
return { *this, t };
|
||||
return { *this, t, {} };
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
join_t<outer_join_t, join_t, T> outer_join(T t)
|
||||
{
|
||||
static_assert(not is_noop<On>::value, "join type requires on()");
|
||||
return { *this, t };
|
||||
return { *this, t, {} };
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
join_t<left_outer_join_t, join_t, T> left_outer_join(T t)
|
||||
{
|
||||
static_assert(not is_noop<On>::value, "join type requires on()");
|
||||
return { *this, t };
|
||||
return { *this, t, {} };
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
join_t<right_outer_join_t, join_t, T> right_outer_join(T t)
|
||||
{
|
||||
static_assert(not is_noop<On>::value, "join type requires on()");
|
||||
return { *this, t };
|
||||
return { *this, t, {} };
|
||||
}
|
||||
|
||||
Lhs _lhs;
|
||||
|
||||
@@ -60,31 +60,31 @@ namespace sqlpp
|
||||
template<typename T>
|
||||
join_t<inner_join_t, Table, T> join(T t) const
|
||||
{
|
||||
return { *static_cast<const Table*>(this), t };
|
||||
return { *static_cast<const Table*>(this), t, {} };
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
join_t<inner_join_t, Table, T> inner_join(T t) const
|
||||
{
|
||||
return { *static_cast<const Table*>(this), t };
|
||||
return { *static_cast<const Table*>(this), t, {} };
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
join_t<outer_join_t, Table, T> outer_join(T t) const
|
||||
{
|
||||
return { *static_cast<const Table*>(this), t };
|
||||
return { *static_cast<const Table*>(this), t, {} };
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
join_t<left_outer_join_t, Table, T> left_outer_join(T t) const
|
||||
{
|
||||
return { *static_cast<const Table*>(this), t };
|
||||
return { *static_cast<const Table*>(this), t, {} };
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
join_t<right_outer_join_t, Table, T> right_outer_join(T t) const
|
||||
{
|
||||
return { *static_cast<const Table*>(this), t };
|
||||
return { *static_cast<const Table*>(this), t, {} };
|
||||
}
|
||||
|
||||
template<typename AliasProvider>
|
||||
|
||||
Reference in New Issue
Block a user