diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2007-12-29 21:38:53 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2007-12-29 21:38:53 (GMT) |
commit | e1f362ae764884a4cd1e1673292cb37d5a85f89c (patch) | |
tree | 137430b26aee6f3638f27281d3757c2c75ef4b20 /src/FbTk/DefaultValue.hh | |
parent | e90c3678d9e54bc9251619fdee2d7341f042167b (diff) | |
download | fluxbox-e1f362ae764884a4cd1e1673292cb37d5a85f89c.zip fluxbox-e1f362ae764884a4cd1e1673292cb37d5a85f89c.tar.bz2 |
'inline' in class declaration is implicitly inline
Diffstat (limited to 'src/FbTk/DefaultValue.hh')
-rw-r--r-- | src/FbTk/DefaultValue.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/FbTk/DefaultValue.hh b/src/FbTk/DefaultValue.hh index 95b534a..ca20370 100644 --- a/src/FbTk/DefaultValue.hh +++ b/src/FbTk/DefaultValue.hh | |||
@@ -36,14 +36,14 @@ public: | |||
36 | DefaultValue(const Def def): | 36 | DefaultValue(const Def def): |
37 | m_default(def), m_actual(def), m_use_default(true) { } | 37 | m_default(def), m_actual(def), m_use_default(true) { } |
38 | 38 | ||
39 | inline void restoreDefault() { m_use_default = true; } | 39 | void restoreDefault() { m_use_default = true; } |
40 | inline bool isDefault() const { return m_use_default; } | 40 | bool isDefault() const { return m_use_default; } |
41 | 41 | ||
42 | inline DefaultValue<Ret, Def> &operator =(const Ret &val) { | 42 | DefaultValue<Ret, Def> &operator =(const Ret &val) { |
43 | m_use_default = false; m_actual = val; return *this; | 43 | m_use_default = false; m_actual = val; return *this; |
44 | } | 44 | } |
45 | 45 | ||
46 | inline operator Ret() const { return m_use_default ? m_default : m_actual; } | 46 | operator Ret() const { return m_use_default ? m_default : m_actual; } |
47 | 47 | ||
48 | private: | 48 | private: |
49 | const Def m_default; | 49 | const Def m_default; |