From bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 12 Dec 2016 20:26:59 +0300 Subject: Add noexcept in some files. --- src/gui/models/namesmodel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/models/namesmodel.h') diff --git a/src/gui/models/namesmodel.h b/src/gui/models/namesmodel.h index 63af17db6..f0362233d 100644 --- a/src/gui/models/namesmodel.h +++ b/src/gui/models/namesmodel.h @@ -40,10 +40,10 @@ class NamesModel notfinal : public ListModel std::string getElementAt(int i) override final A_WARN_UNUSED; - StringVect &getNames() A_WARN_UNUSED + StringVect &getNames() noexcept2 A_WARN_UNUSED { return mNames; } - size_t size() const A_WARN_UNUSED + size_t size() const noexcept2 A_WARN_UNUSED { return mNames.size(); } void clear() -- cgit v1.2.3-70-g09d2