Fixed a bunch of shadowing warnings issued by g++

A bit over the top in some places, I think
This commit is contained in:
rbock
2015-03-21 11:41:07 +01:00
parent 465a8e700c
commit cdf86695d1
26 changed files with 101 additions and 100 deletions
+8 -8
View File
@@ -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;