summaryrefslogtreecommitdiff
path: root/indra/llcharacter/llstatemachine.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcharacter/llstatemachine.h')
-rw-r--r--indra/llcharacter/llstatemachine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcharacter/llstatemachine.h b/indra/llcharacter/llstatemachine.h
index c19a926dbb..5ae1668a11 100644
--- a/indra/llcharacter/llstatemachine.h
+++ b/indra/llcharacter/llstatemachine.h
@@ -54,7 +54,7 @@ class LLFSMTransition : public LLUniqueID
{
public:
LLFSMTransition() : LLUniqueID(){};
- virtual std::string getName(){ return "unnamed"; }
+ virtual std::string getName()const { return "unnamed"; }
};
class LLFSMState : public LLUniqueID
@@ -64,7 +64,7 @@ public:
virtual void onEntry(void *){};
virtual void onExit(void *){};
virtual void execute(void *){};
- virtual std::string getName(){ return "unnamed"; }
+ virtual std::string getName() const { return "unnamed"; }
};
class LLStateDiagram