Commit ff21c524 authored by knowledge4igor's avatar knowledge4igor

Fix more warnings

parent 55cbea8c
...@@ -171,7 +171,7 @@ public: ...@@ -171,7 +171,7 @@ public:
typedef std::function<void()> OnResponseParsed; typedef std::function<void()> OnResponseParsed;
void onReady(const Aio::FdSet& fds) override; void onReady(const Aio::FdSet& fds) override;
void registerPoller(Polling::Epoll& poller); void registerPoller(Polling::Epoll& poller) override;
Async::Promise<void> Async::Promise<void>
asyncConnect(const std::shared_ptr<Connection>& connection, const struct sockaddr* address, socklen_t addr_len); asyncConnect(const std::shared_ptr<Connection>& connection, const struct sockaddr* address, socklen_t addr_len);
......
...@@ -12,7 +12,9 @@ ...@@ -12,7 +12,9 @@
#include <pistache/async.h> #include <pistache/async.h>
#include <pistache/stream.h> #include <pistache/stream.h>
#include <chrono>
#include <deque> #include <deque>
#include <memory>
#include <unordered_map> #include <unordered_map>
namespace Pistache { namespace Pistache {
...@@ -27,7 +29,7 @@ public: ...@@ -27,7 +29,7 @@ public:
void init(const std::shared_ptr<Tcp::Handler>& handler); void init(const std::shared_ptr<Tcp::Handler>& handler);
void registerPoller(Polling::Epoll& poller); void registerPoller(Polling::Epoll& poller) override;
void handleNewPeer(const std::shared_ptr<Peer>& peer); void handleNewPeer(const std::shared_ptr<Peer>& peer);
void onReady(const Aio::FdSet& fds) override; void onReady(const Aio::FdSet& fds) override;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment