diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-09-20 15:08:35 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-09-20 15:08:35 +0400 |
commit | f510057fefea61a15fbbbd6556bf00a6350bb519 (patch) | |
tree | da0c112651f4680a5c1b1cef80b68dc2aef06a7b /source/gameengine/GameLogic/SCA_PythonController.h | |
parent | a12375cb4f8dd97b8985854486485a94a869a5f1 (diff) |
[#17600] char* -> const char*
Thanks to Sean Bartell (wtachi), was causing many many warnings which distracted from the real problems.
Diffstat (limited to 'source/gameengine/GameLogic/SCA_PythonController.h')
-rw-r--r-- | source/gameengine/GameLogic/SCA_PythonController.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/GameLogic/SCA_PythonController.h b/source/gameengine/GameLogic/SCA_PythonController.h index 1b62e7ecb53..d9b2e242bea 100644 --- a/source/gameengine/GameLogic/SCA_PythonController.h +++ b/source/gameengine/GameLogic/SCA_PythonController.h @@ -71,9 +71,9 @@ class SCA_PythonController : public SCA_IController { m_triggeredSensors.push_back(sensor); } int IsTriggered(class SCA_ISensor* sensor); - static char* sPyGetCurrentController__doc__; + static const char* sPyGetCurrentController__doc__; static PyObject* sPyGetCurrentController(PyObject* self); - static char* sPyAddActiveActuator__doc__; + static const char* sPyAddActiveActuator__doc__; static PyObject* sPyAddActiveActuator(PyObject* self, PyObject* args); virtual PyObject* _getattr(const STR_String& attr); |