summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorLogan Dethrow <log@lindenlab.com>2011-10-12 15:38:37 -0400
committerLogan Dethrow <log@lindenlab.com>2011-10-12 15:38:37 -0400
commite0f6e449594c44511d9634ea54faf54f8fe5cb7c (patch)
tree319483de50bd43bb1e5826292ffa883d613bbed9 /indra
parentad3ffeed867145693500daf903c581b91b1dfcb5 (diff)
Removed one ugly const_cast, the other one is needed for the time being.
Diffstat (limited to 'indra')
-rw-r--r--indra/test/llsdmessagebuilder_tut.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/test/llsdmessagebuilder_tut.cpp b/indra/test/llsdmessagebuilder_tut.cpp
index 09100f59af..be0692557a 100644
--- a/indra/test/llsdmessagebuilder_tut.cpp
+++ b/indra/test/llsdmessagebuilder_tut.cpp
@@ -84,10 +84,10 @@ namespace tut
static LLMessageBlock* defaultTemplateBlock(const EMsgVariableType type = MVT_NULL, const S32 size = 0, EMsgBlockType block = MBT_VARIABLE)
{
- return createTemplateBlock(const_cast<char*>(_PREHASH_Test0), type, size, block);
+ return createTemplateBlock(_PREHASH_Test0, type, size, block);
}
- static LLMessageBlock* createTemplateBlock(char* name, const EMsgVariableType type = MVT_NULL, const S32 size = 0, EMsgBlockType block = MBT_VARIABLE)
+ static LLMessageBlock* createTemplateBlock(const char* name, const EMsgVariableType type = MVT_NULL, const S32 size = 0, EMsgBlockType block = MBT_VARIABLE)
{
LLMessageBlock* result = new LLMessageBlock(name, block);
if(type != MVT_NULL)