Преглед изворни кода

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 {