summaryrefslogtreecommitdiff
path: root/indra/llcharacter/llstatemachine.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2011-09-06 09:42:11 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2011-09-06 09:42:11 -0400
commit08c0de785f29801c57feebce8fae593f86113777 (patch)
tree6661b84ca6540f0907b4321f6e49a88be75c2e98 /indra/llcharacter/llstatemachine.cpp
parent76f867c8913094573bfa278fc39907d6b0779ec5 (diff)
parent0ab6eee0996c78d32b722157140cea5a21a5e460 (diff)
merge
Diffstat (limited to 'indra/llcharacter/llstatemachine.cpp')
-rw-r--r--indra/llcharacter/llstatemachine.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/llcharacter/llstatemachine.cpp b/indra/llcharacter/llstatemachine.cpp
index e0454131a5..dcc4ff5f0e 100644
--- a/indra/llcharacter/llstatemachine.cpp
+++ b/indra/llcharacter/llstatemachine.cpp
@@ -204,8 +204,7 @@ LLFSMState* LLStateDiagram::getState(U32 state_id)
BOOL LLStateDiagram::saveDotFile(const std::string& filename)
{
- LLAPRFile outfile ;
- outfile.open(filename, LL_APR_W);
+ LLAPRFile outfile(filename, LL_APR_W);
apr_file_t* dot_file = outfile.getFileHandle() ;
if (!dot_file)