Fixed MSVS2010 build. Compiler does not support virtual template methods.
This commit is contained in:
@@ -124,7 +124,7 @@ QDecDouble ShopService::vatRate(Enums::VatType vatType)
|
||||
return vatRate;
|
||||
}
|
||||
|
||||
void ShopService::save(QSharedPointer<Voucher> entity)
|
||||
void ShopService::saveVoucher(QSharedPointer<Voucher> entity)
|
||||
{
|
||||
Transaction tr;
|
||||
odb::database *db = Context::instance().db();
|
||||
@@ -139,7 +139,7 @@ void ShopService::save(QSharedPointer<Voucher> entity)
|
||||
tr.commit();
|
||||
}
|
||||
|
||||
void ShopService::update(QSharedPointer<Voucher> entity)
|
||||
void ShopService::updateVoucher(QSharedPointer<Voucher> entity)
|
||||
{
|
||||
Transaction tr;
|
||||
odb::database *db = Context::instance().db();
|
||||
|
||||
Reference in New Issue
Block a user