Elimination of Service object,
This commit is contained in:
1 parent
a46db126e9
commit
a40f7314a8
440 files changed
+17787
-516
No files matched your search
+6
-6
@@ -1,6 +1,6 @@
|
||||
#include "UDPServerSocket.h"
|
||||
#include "EPoll.h"
|
||||
#include "Session.h"
|
||||
#include "TCPSession.h"
|
||||
|
||||
namespace core {
|
||||
|
||||
@@ -48,11 +48,11 @@ namespace core {
|
||||
|
||||
int sequence = 0;
|
||||
|
||||
for(auto *session : sessions) {
|
||||
data << "|" << ++sequence;
|
||||
session->output(data);
|
||||
data << "|" << std::endl;
|
||||
}
|
||||
// for(auto *session : sessions) {
|
||||
// data << "|" << ++sequence;
|
||||
// session->output(data);
|
||||
// data << "|" << std::endl;
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user