diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-09-12 12:01:23 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-12 12:01:23 -0400 |
| commit | 74030eb4277c179c62189a978b693e081bfe7c4c (patch) | |
| tree | e2f4ba2fa65f8b9bdfbd86352a65539f46d9193f /src/core/network | |
| parent | 47b6f522bd4c81a35ac29840de6eb0c64b57dafa (diff) | |
| parent | e67463df2419feb10915eb91bba2b0485154a586 (diff) | |
Merge pull request #6987 from Morph1984/common-error
common: Move error handling functions out of common_funcs
Diffstat (limited to 'src/core/network')
| -rw-r--r-- | src/core/network/network.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/network/network.cpp b/src/core/network/network.cpp index 4732d4485..72eea52f0 100644 --- a/src/core/network/network.cpp +++ b/src/core/network/network.cpp @@ -7,7 +7,8 @@ #include <limits> #include <utility> #include <vector> -#include "common/common_funcs.h" + +#include "common/error.h" #ifdef _WIN32 #include <winsock2.h> @@ -223,7 +224,7 @@ Errno GetAndLogLastError() { if (err == Errno::AGAIN) { return err; } - LOG_ERROR(Network, "Socket operation error: {}", NativeErrorToString(e)); + LOG_ERROR(Network, "Socket operation error: {}", Common::NativeErrorToString(e)); return err; } |
