mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 22:11:02 +00:00
Make a member function a const member function.
Issue found by cppcheck.
This commit is contained in:
parent
fa681e4546
commit
caeecce96f
@ -70,32 +70,32 @@ public:
|
||||
}
|
||||
|
||||
|
||||
Atom XA_CLIPBOARD()
|
||||
Atom XA_CLIPBOARD() const
|
||||
{
|
||||
return atomTable_[0];
|
||||
}
|
||||
|
||||
Atom XA_TEXT()
|
||||
Atom XA_TEXT() const
|
||||
{
|
||||
return atomTable_[1];
|
||||
}
|
||||
|
||||
Atom XA_COMPOUND_TEXT()
|
||||
Atom XA_COMPOUND_TEXT() const
|
||||
{
|
||||
return atomTable_[2];
|
||||
}
|
||||
|
||||
Atom UTF8_STRING()
|
||||
Atom UTF8_STRING() const
|
||||
{
|
||||
return atomTable_[3];
|
||||
}
|
||||
|
||||
Atom WES_PASTE()
|
||||
Atom WES_PASTE() const
|
||||
{
|
||||
return atomTable_[4];
|
||||
}
|
||||
|
||||
Atom XA_TARGETS()
|
||||
Atom XA_TARGETS() const
|
||||
{
|
||||
return atomTable_[5];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user