C4AulFunc::GetFullName: make const

directional-lights
Nicolas Hake 2016-05-11 14:44:30 +02:00
parent 10abb1bbdb
commit 5872b5e8ae
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ C4AulFunc::~C4AulFunc()
::ScriptEngine.FuncLookUp.Remove(this);
}
StdStrBuf C4AulFunc::GetFullName()
StdStrBuf C4AulFunc::GetFullName() const
{
StdStrBuf r;
// "lost" function?

View File

@ -55,7 +55,7 @@ public:
const C4PropListStatic * Parent;
const char * GetName() const { return Name ? Name->GetCStr() : 0; }
virtual StdStrBuf GetFullName(); // get a fully classified name (C4ID::Name) for debug output
virtual StdStrBuf GetFullName() const; // get a fully classified name (C4ID::Name) for debug output
protected:
C4RefCntPointer<C4String> Name; // function name