aboutsummaryrefslogtreecommitdiff
path: root/src/WindowCmd.hh
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2007-12-29 21:38:53 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2007-12-29 21:38:53 (GMT)
commite1f362ae764884a4cd1e1673292cb37d5a85f89c (patch)
tree137430b26aee6f3638f27281d3757c2c75ef4b20 /src/WindowCmd.hh
parente90c3678d9e54bc9251619fdee2d7341f042167b (diff)
downloadfluxbox-e1f362ae764884a4cd1e1673292cb37d5a85f89c.zip
fluxbox-e1f362ae764884a4cd1e1673292cb37d5a85f89c.tar.bz2
'inline' in class declaration is implicitly inline
Diffstat (limited to 'src/WindowCmd.hh')
-rw-r--r--src/WindowCmd.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/WindowCmd.hh b/src/WindowCmd.hh
index d1754e9..a58eafc 100644
--- a/src/WindowCmd.hh
+++ b/src/WindowCmd.hh
@@ -74,11 +74,11 @@ public:
74 WindowAccessor(Getter g, Setter s, Def def): 74 WindowAccessor(Getter g, Setter s, Def def):
75 m_getter(g), m_setter(s), m_def(def) { } 75 m_getter(g), m_setter(s), m_def(def) { }
76 76
77 inline operator Ret() const { 77 operator Ret() const {
78 FluxboxWindow *fbwin = WindowCmd<void>::window(); 78 FluxboxWindow *fbwin = WindowCmd<void>::window();
79 return fbwin ? (fbwin->*m_getter)() : m_def; 79 return fbwin ? (fbwin->*m_getter)() : m_def;
80 } 80 }
81 inline FbTk::Accessor<Ret> &operator =(const Ret &val) { 81 FbTk::Accessor<Ret> &operator =(const Ret &val) {
82 FluxboxWindow *fbwin = WindowCmd<void>::window(); 82 FluxboxWindow *fbwin = WindowCmd<void>::window();
83 if (fbwin) 83 if (fbwin)
84 (fbwin->*m_setter)(val); 84 (fbwin->*m_setter)(val);
@@ -99,11 +99,11 @@ public:
99 ConstWindowAccessor(Getter g, Def def): 99 ConstWindowAccessor(Getter g, Def def):
100 m_getter(g), m_def(def) { } 100 m_getter(g), m_def(def) { }
101 101
102 inline operator Ret() const { 102 operator Ret() const {
103 FluxboxWindow *fbwin = WindowCmd<void>::window(); 103 FluxboxWindow *fbwin = WindowCmd<void>::window();
104 return fbwin ? (fbwin->*m_getter)() : m_def; 104 return fbwin ? (fbwin->*m_getter)() : m_def;
105 } 105 }
106 inline FbTk::Accessor<Ret> &operator =(const Ret &val) { return *this; } 106 FbTk::Accessor<Ret> &operator =(const Ret &val) { return *this; }
107 107
108private: 108private:
109 Getter m_getter; 109 Getter m_getter;