From 3b71f2068e69b624887cf0e741a466e6cc39349a Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 17 Mar 2021 13:34:43 +0000 Subject: Mark {From,To}{Human,Internal,Network} as noexcept. --- src/modules/m_dccallow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_dccallow.cpp') diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index 484f8aef1..b2f9d644b 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -115,7 +115,7 @@ class DCCAllowExt : public SimpleExtItem { } - void FromInternal(Extensible* container, const std::string& value) override + void FromInternal(Extensible* container, const std::string& value) noexcept override { LocalUser* user = IS_LOCAL(static_cast(container)); if (!user) @@ -158,7 +158,7 @@ class DCCAllowExt : public SimpleExtItem Set(user, list); } - std::string ToInternal(const Extensible* container, void* item) const override + std::string ToInternal(const Extensible* container, void* item) const noexcept override { dccallowlist* list = static_cast(item); std::string buf; -- cgit v1.3.1-10-gc9f91