@@ -49,11 +49,11 @@ * \warning If for some reason the number of cores in the system could not be * determined, the pool will only have one thread! * * \return A new thread pool with one thread for each core in the system */ -+ threadPool; ++ (instancetype)threadPool; /** * \brief Returns a new thread pool with the specified number of threads. * * \warning If for some reason the number of cores in the system could not be @@ -60,11 +60,11 @@ * determined, the pool will only have one thread! * * \param size The number of threads for the pool * \return A new thread pool with the specified number of threads */ -+ threadPoolWithSize: (size_t)size; ++ (instancetype)threadPoolWithSize: (size_t)size; /** * \brief Initializes an already allocated OFThreadPool with one thread for * each core in the system. *