summaryrefslogtreecommitdiff
path: root/src/module.cpp
diff options
context:
space:
mode:
authorNaram Qashat <cyberbotx@cyberbotx.com>2010-07-26 23:32:03 -0400
committerNaram Qashat <cyberbotx@cyberbotx.com>2010-07-26 23:32:03 -0400
commit57bb7593059242652c57aae4391b45416dc7fa70 (patch)
tree80b1b21308a0ce7e55bc5b8e278ed6cc95c07e8c /src/module.cpp
parent6e6b6b46aabfb3e558f66bd0fdc528e93505cf76 (diff)
Trying to make things a little more const-safe, a work in progress but this is a bit better.
Diffstat (limited to 'src/module.cpp')
-rw-r--r--src/module.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/module.cpp b/src/module.cpp
index 99233d7a3..d426eb2aa 100644
--- a/src/module.cpp
+++ b/src/module.cpp
@@ -130,7 +130,7 @@ void Module::SetPermanent(bool state)
this->permanent = state;
}
-bool Module::GetPermanent()
+bool Module::GetPermanent() const
{
return this->permanent;
}
@@ -153,17 +153,17 @@ Version::~Version()
{
}
-const unsigned Version::GetMajor()
+unsigned Version::GetMajor() const
{
return Major;
}
-const unsigned Version::GetMinor()
+unsigned Version::GetMinor() const
{
return Minor;
}
-const unsigned Version::GetBuild()
+unsigned Version::GetBuild() const
{
return Build;
}