diff options
Diffstat (limited to 'src/Slit.cc')
-rw-r--r-- | src/Slit.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Slit.cc b/src/Slit.cc index 6656dec..a5840e6 100644 --- a/src/Slit.cc +++ b/src/Slit.cc | |||
@@ -115,7 +115,7 @@ void FbTk::Resource<Slit::Direction>::setFromString(const char *strval) { | |||
115 | } | 115 | } |
116 | 116 | ||
117 | template<> | 117 | template<> |
118 | string FbTk::Resource<Slit::Placement>::getString() { | 118 | string FbTk::Resource<Slit::Placement>::getString() const { |
119 | switch (m_value) { | 119 | switch (m_value) { |
120 | case Slit::TOPLEFT: | 120 | case Slit::TOPLEFT: |
121 | return string("TopLeft"); | 121 | return string("TopLeft"); |
@@ -147,7 +147,7 @@ string FbTk::Resource<Slit::Placement>::getString() { | |||
147 | } | 147 | } |
148 | 148 | ||
149 | template<> | 149 | template<> |
150 | string FbTk::Resource<Slit::Direction>::getString() { | 150 | string FbTk::Resource<Slit::Direction>::getString() const { |
151 | switch (m_value) { | 151 | switch (m_value) { |
152 | case Slit::VERTICAL: | 152 | case Slit::VERTICAL: |
153 | return string("Vertical"); | 153 | return string("Vertical"); |