addd const to variable
This commit is contained in:
parent
40dfc30dae
commit
855c9295fb
|
|
@ -10,7 +10,7 @@ using namespace matador::object;
|
|||
using namespace matador::test;
|
||||
|
||||
TEST_CASE_METHOD(SessionFixture, "Test insert object with has many relation", "[session][insert][has_many]") {
|
||||
auto result = schema.attach<book>("books")
|
||||
const auto result = schema.attach<book>("books")
|
||||
.and_then( [this] { return schema.attach<author>("authors"); } )
|
||||
.and_then([this] { return schema.create(db); } );
|
||||
REQUIRE(result.is_ok());
|
||||
|
|
|
|||
Loading…
Reference in New Issue