diff options
author | HampusM <hampus@hampusmat.com> | 2022-03-14 18:02:18 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:56 +0200 |
commit | dc6222611ad14a33f642396558ba84ecba9d6605 (patch) | |
tree | d759020233b66be62c5539209a03842d283b67a9 /src/DI/object_type.cpp | |
parent | dbab54ebf134b6ab2cf719d7c26a191fbffeed34 (diff) |
perf: add noexcept almost everywhere
Diffstat (limited to 'src/DI/object_type.cpp')
-rw-r--r-- | src/DI/object_type.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DI/object_type.cpp b/src/DI/object_type.cpp index f6004cb..008c4a4 100644 --- a/src/DI/object_type.cpp +++ b/src/DI/object_type.cpp @@ -20,7 +20,7 @@ std::string_view BaseObjectType::name() const noexcept return std::string_view(_type_info.name()); } -std::size_t ObjectTypeHasher::operator()(const BaseObjectType &object_type) const +std::size_t ObjectTypeHasher::operator()(const BaseObjectType &object_type) const noexcept { return object_type.hash(); } |