mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-01-08 06:00:40 -06:00
Added a few missing const qualifiers
This commit is contained in:
@@ -115,12 +115,12 @@ namespace sqlpp
|
||||
return { *static_cast<const Base*>(this) };
|
||||
}
|
||||
|
||||
sort_order_t<Base, sort_type::asc> asc()
|
||||
sort_order_t<Base, sort_type::asc> asc() const
|
||||
{
|
||||
return { *static_cast<const Base*>(this) };
|
||||
}
|
||||
|
||||
sort_order_t<Base, sort_type::desc> desc()
|
||||
sort_order_t<Base, sort_type::desc> desc() const
|
||||
{
|
||||
return { *static_cast<const Base*>(this) };
|
||||
}
|
||||
@@ -145,7 +145,7 @@ namespace sqlpp
|
||||
struct alias_operators
|
||||
{
|
||||
template<typename alias_provider>
|
||||
expression_alias_t<Base, alias_provider> as(const alias_provider&)
|
||||
expression_alias_t<Base, alias_provider> as(const alias_provider&) const
|
||||
{
|
||||
return { *static_cast<const Base*>(this) };
|
||||
}
|
||||
|
||||
@@ -62,31 +62,31 @@ namespace sqlpp
|
||||
|
||||
|
||||
template<typename T>
|
||||
join_t<inner_join_t, Table, T> join(T t)
|
||||
join_t<inner_join_t, Table, T> join(T t) const
|
||||
{
|
||||
return { *static_cast<const Table*>(this), t };
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
join_t<inner_join_t, Table, T> inner_join(T t)
|
||||
join_t<inner_join_t, Table, T> inner_join(T t) const
|
||||
{
|
||||
return { *static_cast<const Table*>(this), t };
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
join_t<outer_join_t, Table, T> outer_join(T t)
|
||||
join_t<outer_join_t, Table, T> outer_join(T t) const
|
||||
{
|
||||
return { *static_cast<const Table*>(this), t };
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
join_t<left_outer_join_t, Table, T> left_outer_join(T t)
|
||||
join_t<left_outer_join_t, Table, T> left_outer_join(T t) const
|
||||
{
|
||||
return { *static_cast<const Table*>(this), t };
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
join_t<right_outer_join_t, Table, T> right_outer_join(T t)
|
||||
join_t<right_outer_join_t, Table, T> right_outer_join(T t) const
|
||||
{
|
||||
return { *static_cast<const Table*>(this), t };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user