build(deps): bump deps/GSL from 46c7271 to c016bdc (#5)

* build(deps): bump deps/GSL from `46c7271` to `c016bdc`

Bumps [deps/GSL](https://github.com/microsoft/GSL) from `46c7271` to `c016bdc`.
- [Release notes](https://github.com/microsoft/GSL/releases)
- [Commits](46c72713f2...c016bdc77f)

---
updated-dependencies:
- dependency-name: deps/GSL
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update address.cpp

* Update address.cpp

* Update std_include.hpp

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Edo <edoardo.sanguineti222@gmail.com>
This commit is contained in:
dependabot[bot] 2022-12-28 10:18:12 +01:00 committed by GitHub
parent 7b86ed973f
commit 58d6fe44ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 14 deletions

2
deps/GSL vendored

@ -1 +1 @@
Subproject commit 46c72713f2e8a66782ba0d40c4d6bb3edc9aa382 Subproject commit c016bdc77f28891cfc42fc219bd5365e89d3ebda

View File

@ -8,7 +8,7 @@ namespace network
{ {
address::address() address::address()
{ {
std::memset(&this->address_, 0, sizeof(this->address_)); memset(&this->address_, 0, sizeof(this->address_));
} }
address::address(const std::string& addr) address::address(const std::string& addr)
@ -140,7 +140,7 @@ namespace network
if (i->ai_addr->sa_family == AF_INET) if (i->ai_addr->sa_family == AF_INET)
{ {
const auto port = this->get_port(); const auto port = this->get_port();
std::memcpy(&this->address_, i->ai_addr, sizeof(this->address_)); memcpy(&this->address_, i->ai_addr, sizeof(this->address_));
this->set_port(port); this->set_port(port);
break; break;

View File

@ -55,22 +55,22 @@
#undef min #undef min
#endif #endif
#include <cstdio> #include <atomic>
#include <cstdint> #include <cassert>
#include <chrono>
#include <csignal> #include <csignal>
#include <cstdarg> #include <cstdarg>
#include <cassert> #include <cstdint>
#include <cstdio>
#include <mutex> #include <cstring>
#include <atomic>
#include <chrono>
#include <vector>
#include <thread>
#include <fstream> #include <fstream>
#include <iostream>
#include <utility>
#include <functional> #include <functional>
#include <iostream>
#include <mutex>
#include <sstream> #include <sstream>
#include <thread>
#include <utility>
#include <vector>
#include <gsl/gsl> #include <gsl/gsl>