diff options
Diffstat (limited to 'library/cpp/yson_pull/exceptions.cpp')
| -rw-r--r-- | library/cpp/yson_pull/exceptions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/yson_pull/exceptions.cpp b/library/cpp/yson_pull/exceptions.cpp index e1d68493e79..ac482b567cc 100644 --- a/library/cpp/yson_pull/exceptions.cpp +++ b/library/cpp/yson_pull/exceptions.cpp @@ -36,9 +36,9 @@ const char* TBadStream::what() const noexcept { return FormattedMessage_.c_str(); } -NYsonPull::NException::TSystemError::TSystemError() +NYsonPull::NException::TSystemError::TSystemError() : SavedErrno_{errno} { -} +} const char* NYsonPull::NException::TSystemError::what() const noexcept { return ::strerror(SavedErrno_); |
