diff Implab/ObjectPool.cs @ 91:cdaaf4792c22 v2

code cleanup
author cin
date Tue, 14 Oct 2014 09:30:45 +0400
parents abe260860bd6
children 8beee0d11de6
line wrap: on
line diff
--- a/Implab/ObjectPool.cs	Sun Oct 12 16:50:34 2014 +0400
+++ b/Implab/ObjectPool.cs	Tue Oct 14 09:30:45 2014 +0400
@@ -23,11 +23,6 @@
         protected ObjectPool() : this(Environment.ProcessorCount+1) {
         }
 
-        public ObjectPoolWrapper<T> AllocateAuto() {
-
-            return new ObjectPoolWrapper<T>(Allocate(), this);
-        }
-
         public T Allocate() {
             if (m_disposed)
                 throw new ObjectDisposedException(ToString());