1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 01:16:37 +02:00

Trying to make things a little more const-safe, a work in progress but this is a bit better.

This commit is contained in:
Naram Qashat
2010-07-26 23:32:03 -04:00
parent 6e6b6b46aa
commit 57bb759305
34 changed files with 143 additions and 141 deletions
+4 -4
View File
@@ -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;
}