Fixed pool bug

GetObject member function was already a defined macro