Fixed MSVS2010 build. Compiler does not support virtual template methods.
This commit is contained in:
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user