| 10 | std::unique_ptr<database_binder> storedProcedure; |
| 11 | database db; |
| 12 | dbFront(): db(":memory:") { |
| 13 | db << "CREATE TABLE tbl (id integer, name string);"; |
| 14 | // the temporary moved object should not run _execute() function on destruction. |
| 15 | storedProcedure = std::make_unique<database_binder>( |
| 16 | db << "INSERT INTO tbl VALUES (?, ?);" |
| 17 | ); |
| 18 | } |
| 19 | }; |
| 20 | |
| 21 |
nothing calls this directly
no outgoing calls
no test coverage detected