Browse Source

Fix minor compilation errors on MSVC

release/1.0.1
Jessica James 3 years ago
parent
commit
fd01d3a735
  1. 1
      src/common/HTTP_Server.cpp
  2. 1
      src/include/Jupiter/DataBuffer_Imp.h

1
src/common/HTTP_Server.cpp

@ -790,7 +790,6 @@ int Jupiter::HTTP::Server::think()
while (index != 0) while (index != 0)
{ {
session = Jupiter::HTTP::Server::data_->sessions.get(--index); session = Jupiter::HTTP::Server::data_->sessions.get(--index);
std::chrono::steady_clock::now();
if (session->sock.isShutdown()) if (session->sock.isShutdown())
{ {
if (session->sock.recv() == 0) if (session->sock.recv() == 0)

1
src/include/Jupiter/DataBuffer_Imp.h

@ -27,6 +27,7 @@
#include <vector> #include <vector>
#include <array> #include <array>
#include <string>
/** /**
* IMPLEMENTATION: * IMPLEMENTATION:

Loading…
Cancel
Save