fixed linux compile
This commit is contained in:
parent
6cb501ded9
commit
a4d6f68ee2
|
|
@ -3,6 +3,8 @@
|
||||||
|
|
||||||
#include "matador/orm/session_query_builder.hpp"
|
#include "matador/orm/session_query_builder.hpp"
|
||||||
|
|
||||||
|
#include "matador/query/query.hpp"
|
||||||
|
|
||||||
#include "matador/sql/column_generator.hpp"
|
#include "matador/sql/column_generator.hpp"
|
||||||
#include "matador/sql/connection.hpp"
|
#include "matador/sql/connection.hpp"
|
||||||
#include "matador/sql/connection_pool.hpp"
|
#include "matador/sql/connection_pool.hpp"
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ struct flight
|
||||||
: id(id), airplane(plane), pilot_name(std::move(name)) {}
|
: id(id), airplane(plane), pilot_name(std::move(name)) {}
|
||||||
|
|
||||||
unsigned int id{};
|
unsigned int id{};
|
||||||
object::object_ptr<airplane> airplane;
|
object::object_ptr<test::airplane> airplane;
|
||||||
std::string pilot_name;
|
std::string pilot_name;
|
||||||
|
|
||||||
template<class Operator>
|
template<class Operator>
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,8 @@ namespace matador::test {
|
||||||
|
|
||||||
struct product {
|
struct product {
|
||||||
std::string product_name;
|
std::string product_name;
|
||||||
object::object_ptr<supplier> supplier;
|
object::object_ptr<test::supplier> supplier;
|
||||||
object::object_ptr<category> category;
|
object::object_ptr<test::category> category;
|
||||||
std::string quantity_per_unit;
|
std::string quantity_per_unit;
|
||||||
unsigned int unit_price;
|
unsigned int unit_price;
|
||||||
unsigned int units_in_stock;
|
unsigned int units_in_stock;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue