Fixed MSVS2010 build. Compiler does not support virtual template methods.

This commit is contained in:
2016-06-03 12:52:54 +02:00
parent 5eb73fb877
commit 5035c4ce05
4 changed files with 10 additions and 11 deletions
+2 -2
View File
@@ -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();