Преглед на файлове

Cleaned up synchronized_callback<>::wrap()

Paul-Louis Ageneau преди 3 години
родител
ревизия
2d5958f11d
променени са 1 файла, в които са добавени 0 реда и са изтрити 4 реда
  1. 0 4
      include/rtc/utils.hpp

+ 0 - 4
include/rtc/utils.hpp

@@ -96,10 +96,6 @@ public:
 		return callback ? true : false;
 	}
 
-	std::function<void(Args...)> wrap() const {
-		return [this](Args... args) { (*this)(std::move(args)...); };
-	}
-
 protected:
 	virtual void set(std::function<void(Args...)> func) { callback = std::move(func); }
 	virtual bool call(Args... args) const {