mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-05-14 23:28:55 -05:00
Fixed a bunch of shadowing warnings issued by g++
A bit over the top in some places, I think
This commit is contained in:
+8
-8
@@ -34,18 +34,18 @@
|
||||
#include "MockDb.h"
|
||||
#include <sqlpp11/sqlpp11.h>
|
||||
|
||||
static constexpr bool some_condition = true;
|
||||
static constexpr bool some_other_condition = false;
|
||||
|
||||
SQLPP_ALIAS_PROVIDER(cheesecake)
|
||||
|
||||
MockDb db;
|
||||
|
||||
test::TabPerson p;
|
||||
test::TabFeature f;
|
||||
|
||||
int main()
|
||||
{
|
||||
static constexpr bool some_condition = true;
|
||||
static constexpr bool some_other_condition = false;
|
||||
|
||||
MockDb db;
|
||||
|
||||
test::TabPerson p;
|
||||
test::TabFeature f;
|
||||
|
||||
for (const auto& row : db(select(all_of(p)).from(p).where(p.id > 7)))
|
||||
{
|
||||
int64_t id = row.id;
|
||||
|
||||
Reference in New Issue
Block a user