mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-02-18 12:18:45 -06:00
Use clang-tidy to wrap single-line blocks into {}
This commit is contained in:
@@ -108,10 +108,14 @@ namespace sqlpp
|
||||
static Context& _(const T& t, Context& context)
|
||||
{
|
||||
if (requires_braces_t<Table>::value)
|
||||
{
|
||||
context << "(";
|
||||
}
|
||||
serialize(t._table, context);
|
||||
if (requires_braces_t<Table>::value)
|
||||
{
|
||||
context << ")";
|
||||
}
|
||||
context << " AS " << name_of<T>::char_ptr();
|
||||
return context;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user