summaryrefslogtreecommitdiff
path: root/indra/llcharacter/llstatemachine.cpp
diff options
context:
space:
mode:
authorDebi King (Dessie) <dessie@lindenlab.com>2011-10-16 08:19:49 -0400
committerDebi King (Dessie) <dessie@lindenlab.com>2011-10-16 08:19:49 -0400
commitbf96c7f67e623b09f83b2300e7b82cb04dce1ee3 (patch)
tree3d3ff515c4055877d2f1158287ddaf9dd5107a13 /indra/llcharacter/llstatemachine.cpp
parent76a54429fef78bb36ef5d4189e78867a7002f058 (diff)
parent4924f0c99b021869967f4587df703084d2bdc8ed (diff)
merge
Diffstat (limited to 'indra/llcharacter/llstatemachine.cpp')
-rw-r--r--indra/llcharacter/llstatemachine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llcharacter/llstatemachine.cpp b/indra/llcharacter/llstatemachine.cpp
index dcc4ff5f0e..e0454131a5 100644
--- a/indra/llcharacter/llstatemachine.cpp
+++ b/indra/llcharacter/llstatemachine.cpp
@@ -204,7 +204,8 @@ LLFSMState* LLStateDiagram::getState(U32 state_id)
BOOL LLStateDiagram::saveDotFile(const std::string& filename)
{
- LLAPRFile outfile(filename, LL_APR_W);
+ LLAPRFile outfile ;
+ outfile.open(filename, LL_APR_W);
apr_file_t* dot_file = outfile.getFileHandle() ;
if (!dot_file)