Fixed a bunch of missing initializations

This commit is contained in:
rbock
2015-12-27 22:25:05 +01:00
parent 0957775202
commit b89e4c3e4f
26 changed files with 57 additions and 57 deletions

View File

@@ -32,7 +32,7 @@ MockDb db;
int main()
{
test::TabBar t;
const auto t = test::TabBar{};
count(count(t.alpha));
}

View File

@@ -32,7 +32,7 @@ MockDb db;
int main()
{
test::TabBar t;
const auto t = test::TabBar{};
max(max(t.alpha));
}

View File

@@ -32,7 +32,7 @@ MockDb db;
int main()
{
test::TabBar t;
const auto t = test::TabBar{};
insert_into(t).set(t.alpha = 7, t.gamma = false, t.beta = "alpha must not be set");
}

View File

@@ -31,7 +31,7 @@ MockDb db;
int main()
{
test::TabBar t;
const auto t = test::TabBar{};
update(t).set(t.alpha = 7, t.gamma = false, t.beta = "alpha must not be set");
}

View File

@@ -31,7 +31,7 @@ EnforceDb edb{};
int main()
{
test::TabBar t;
const auto t = test::TabBar{};
static_assert(sqlpp::can_be_null_t<decltype(t.alpha)>::value, "t.alpha can be null");
static_assert(not sqlpp::null_is_trivial_value_t<decltype(t.alpha)>::value, "t.alpha does not say null_is_trivial");

View File

@@ -32,7 +32,7 @@ MockDb db;
int main()
{
test::TabBar t;
const auto t = test::TabBar{};
insert_into(t).set(t.beta = "need also to insert gamma");
}