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
@@ -67,7 +67,7 @@ public:
return ret;
}
virtual void save(QSharedPointer<T> entity) {
void save(QSharedPointer<T> entity) {
if (!checkPermission(PERM_ADD)) {
return;
}
@@ -93,7 +93,7 @@ public:
emit dataChanged();
}
virtual void update(QSharedPointer<T> entity) {
void update(QSharedPointer<T> entity) {
if (!checkPermission(PERM_EDIT)) {
return;
}