mirror of
https://github.com/diamante0018/master-tool.git
synced 2026-04-30 09:29:36 +00:00
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](https://github.com/microsoft/GSL/compare/46c72713f2e8a66782ba0d40c4d6bb3edc9aa382...c016bdc77f28891cfc42fc219bd5365e89d3ebda) --- 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:
@@ -8,7 +8,7 @@ namespace network
|
||||
{
|
||||
address::address()
|
||||
{
|
||||
std::memset(&this->address_, 0, sizeof(this->address_));
|
||||
memset(&this->address_, 0, sizeof(this->address_));
|
||||
}
|
||||
|
||||
address::address(const std::string& addr)
|
||||
@@ -140,7 +140,7 @@ namespace network
|
||||
if (i->ai_addr->sa_family == AF_INET)
|
||||
{
|
||||
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);
|
||||
|
||||
break;
|
||||
|
||||
+11
-11
@@ -55,22 +55,22 @@
|
||||
#undef min
|
||||
#endif
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstdint>
|
||||
#include <atomic>
|
||||
#include <cassert>
|
||||
#include <chrono>
|
||||
#include <csignal>
|
||||
#include <cstdarg>
|
||||
#include <cassert>
|
||||
|
||||
#include <mutex>
|
||||
#include <atomic>
|
||||
#include <chrono>
|
||||
#include <vector>
|
||||
#include <thread>
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <utility>
|
||||
#include <functional>
|
||||
#include <iostream>
|
||||
#include <mutex>
|
||||
#include <sstream>
|
||||
#include <thread>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <gsl/gsl>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user