Skip to content
Commit 4073b300 authored by Igor Kushnir's avatar Igor Kushnir Committed by Milian Wolff
Browse files

Remove useless class AbstractRepositoryManager

ItemRepositoryRegistry doesn't use AbstractRepositoryManager.
ItemRepository only forwards the manager to ItemRepositoryRegistry.
Therefore, these two classes don't need AbstractRepositoryManager.
Since AbstractRepositoryManager is not useful anywhere else either,
remove the entire class. 5128ac8d made
this abstract class useless by commenting out a single call to its
single member function:
     ~RepositoryManager() {
-      deleteRepository();
+      //Don't do this, we don't need it, and it may lead to crashes
+//       deleteRepository();
     }

No class inherits RepositoryManager, so it doesn't need a virtual
destructor.
parent f2687e5f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment