aboutsummaryrefslogtreecommitdiff
path: root/src/Resource.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Resource.hh')
-rw-r--r--src/Resource.hh6
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
42protected: 42protected:
43 Resource_base(const std::string &name, const std::string &altname): 43 Resource_base(const std::string &name, const std::string &altname):