diff options
author | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-07-26 23:32:03 -0400 |
---|---|---|
committer | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-07-26 23:32:03 -0400 |
commit | 57bb7593059242652c57aae4391b45416dc7fa70 (patch) | |
tree | 80b1b21308a0ce7e55bc5b8e278ed6cc95c07e8c /src/module.cpp | |
parent | 6e6b6b46aabfb3e558f66bd0fdc528e93505cf76 (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.cpp | 8 |
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; } |