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:
+4
-4
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user