diff options
author | peterbell10 <peterbell10@live.co.uk> | 2020-05-10 18:16:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-10 18:16:38 +0200 |
commit | 154df6b09d0c39ef9a9b1ee049251b645c13f559 (patch) | |
tree | dd5976d81910d369e09b95c35fd89cd8cccb378c /src/WorldStorage/FastNBT.cpp | |
parent | Remove pkFishingFloat documentation (#4732) (diff) | |
download | cuberite-154df6b09d0c39ef9a9b1ee049251b645c13f559.tar cuberite-154df6b09d0c39ef9a9b1ee049251b645c13f559.tar.gz cuberite-154df6b09d0c39ef9a9b1ee049251b645c13f559.tar.bz2 cuberite-154df6b09d0c39ef9a9b1ee049251b645c13f559.tar.lz cuberite-154df6b09d0c39ef9a9b1ee049251b645c13f559.tar.xz cuberite-154df6b09d0c39ef9a9b1ee049251b645c13f559.tar.zst cuberite-154df6b09d0c39ef9a9b1ee049251b645c13f559.zip |
Diffstat (limited to '')
-rw-r--r-- | src/WorldStorage/FastNBT.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/WorldStorage/FastNBT.cpp b/src/WorldStorage/FastNBT.cpp index d7901217d..b7c1c9c45 100644 --- a/src/WorldStorage/FastNBT.cpp +++ b/src/WorldStorage/FastNBT.cpp @@ -37,7 +37,7 @@ class cNBTParseErrorCategory final : cNBTParseErrorCategory() = default; public: /** Category name */ - virtual const char * name() const NOEXCEPT override + virtual const char * name() const noexcept override { return "NBT parse error"; } @@ -46,7 +46,7 @@ public: virtual AString message(int a_Condition) const override; /** Returns the canonical error category instance. */ - static const cNBTParseErrorCategory & Get() NOEXCEPT + static const cNBTParseErrorCategory & Get() noexcept { static cNBTParseErrorCategory Category; return Category; @@ -123,7 +123,7 @@ AString cNBTParseErrorCategory::message(int a_Condition) const -std::error_code make_error_code(eNBTParseError a_Err) NOEXCEPT +std::error_code make_error_code(eNBTParseError a_Err) noexcept { return { static_cast<int>(a_Err), cNBTParseErrorCategory::Get() }; } |