Commit 63d6d8c0 authored by jan.koester's avatar jan.koester
Browse files

test

parent c045b56f
Loading
Loading
Loading
Loading
+2 −6
Changes for src/event/iocp.cpp: 2 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -167,12 +167,8 @@ namespace netplus {
		//dummy
	};

	void event::CreateConnection(con **curcon) {
		*curcon = new con(this);
	}

	void event::DestroyConnection(con* res) {
		delete static_cast<con*>(res);
	void event::CreateConnection(std::unique_ptr<con> &curcon) {
		curcon = std::unique_ptr<con>(new con(this));
	}

	class EventWorkerArgs {