Mercurial > pub > ImplabNet
comparison Implab/ObjectPoolWrapper.cs @ 84:34bb2f32634d v2
minor changes
author | cin |
---|---|
date | Tue, 30 Sep 2014 08:20:45 +0400 |
parents | 0363407ee75c |
children |
comparison
equal
deleted
inserted
replaced
83:397fe8db0806 | 84:34bb2f32634d |
---|---|
1 using System; | 1 using System; |
2 | 2 |
3 namespace Implab { | 3 namespace Implab { |
4 public struct ObjectPoolWrapper<T> : IDisposable { | 4 public class ObjectPoolWrapper<T> : IDisposable { |
5 readonly T m_value; | 5 readonly T m_value; |
6 readonly ObjectPool<T> m_pool; | 6 readonly ObjectPool<T> m_pool; |
7 | 7 |
8 internal ObjectPoolWrapper(T value, ObjectPool<T> pool) { | 8 internal ObjectPoolWrapper(T value, ObjectPool<T> pool) { |
9 m_value = value; | 9 m_value = value; |