Codechange: [Network] Let NetworkError return its std::string instead of a C-string

This commit is contained in:
rubidium42
2021-06-13 21:41:07 +02:00
committed by rubidium42
parent 667301e3ec
commit 53b4786037
2 changed files with 3 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ public:
bool WouldBlock() const;
bool IsConnectionReset() const;
bool IsConnectInProgress() const;
const char *AsString() const;
const std::string &AsString() const;
static NetworkError GetLast();
};