diff options
author | fluxgen <fluxgen> | 2002-04-04 14:26:47 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-04-04 14:26:47 (GMT) |
commit | b1c398b775f2ef2b923fc95f02de5ef684ee1160 (patch) | |
tree | 2ef8319e03e17865577a27f85a54166a73d30e7e /src/Resource.hh | |
parent | 1a69dd6e0934207f344e9669f20371eebb8430a6 (diff) | |
download | fluxbox-b1c398b775f2ef2b923fc95f02de5ef684ee1160.zip fluxbox-b1c398b775f2ef2b923fc95f02de5ef684ee1160.tar.bz2 |
minor const fix
Diffstat (limited to 'src/Resource.hh')
-rw-r--r-- | src/Resource.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Resource.hh b/src/Resource.hh index 42156a8..be12285 100644 --- a/src/Resource.hh +++ b/src/Resource.hh | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: Resource.hh,v 1.3 2002/02/17 18:57:47 fluxgen Exp $ | 22 | // $Id: Resource.hh,v 1.4 2002/04/04 14:26:47 fluxgen Exp $ |
23 | 23 | ||
24 | #ifndef RESOURCE_HH | 24 | #ifndef RESOURCE_HH |
25 | #define RESOURCE_HH | 25 | #define RESOURCE_HH |
@@ -36,8 +36,8 @@ public: | |||
36 | virtual void setDefaultValue()=0; | 36 | virtual void setDefaultValue()=0; |
37 | 37 | ||
38 | virtual std::string getString()=0; | 38 | virtual std::string getString()=0; |
39 | inline std::string& getAltName() { return m_altname; } | 39 | inline const std::string& getAltName() const { return m_altname; } |
40 | inline std::string& getName() { return m_name; } | 40 | inline const std::string& getName() const { return m_name; } |
41 | 41 | ||
42 | protected: | 42 | protected: |
43 | Resource_base(const std::string &name, const std::string &altname): | 43 | Resource_base(const std::string &name, const std::string &altname): |