summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-12-28 03:29:17 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:48:18 +0100
commit9b92507aaf907078398e1d85a301240b6bdc92bf (patch)
tree5cd283379c4c245ed0890072f63e70fea5bacb8c
parentfac982148b68fbcc0a759eeda766a822ff2e7e52 (diff)
options/value: don't mark noinline so much
Let's trust the compiler a bit shall we?
-rw-r--r--options/value.hpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/options/value.hpp b/options/value.hpp
index 898f6b05..6714d50d 100644
--- a/options/value.hpp
+++ b/options/value.hpp
@@ -72,7 +72,6 @@ class value final : public value_
}
public:
- cc_noinline
void notify() const override
{
if (!self_name.isEmpty())
@@ -89,19 +88,16 @@ public:
static constexpr inline Qt::ConnectionType DIRECT_CONNTYPE = Qt::DirectConnection;
static constexpr inline Qt::ConnectionType SAFE_CONNTYPE = Qt::QueuedConnection;
- cc_noinline
value(bundle b, const QString& name, t def) :
value_(b, name), def(std::move(def))
{
}
- cc_noinline
t default_value() const
{
return def;
}
- cc_noinline
void set_to_default() override
{
*this = def;