-
- Downloads
Convert LLProcess consumers from LLSD to LLProcess::Params block.
Using a Params block gives compile-time checking against attribute typos. One might inadvertently set myLLSD["autofill"] = false and only discover it when things behave strangely at runtime; but trying to set myParams.autofill will produce a compile error. However, it's excellent that the same LLProcess::create() method can accept either LLProcess::Params or a properly-constructed LLSD block.
Showing
- indra/llcommon/tests/llprocess_test.cpp 13 additions, 13 deletionsindra/llcommon/tests/llprocess_test.cpp
- indra/llcommon/tests/llsdserialize_test.cpp 3 additions, 3 deletionsindra/llcommon/tests/llsdserialize_test.cpp
- indra/llplugin/llpluginprocessparent.cpp 14 additions, 14 deletionsindra/llplugin/llpluginprocessparent.cpp
- indra/llplugin/llpluginprocessparent.h 6 additions, 6 deletionsindra/llplugin/llpluginprocessparent.h
- indra/newview/llexternaleditor.cpp 18 additions, 15 deletionsindra/newview/llexternaleditor.cpp
- indra/newview/llexternaleditor.h 2 additions, 3 deletionsindra/newview/llexternaleditor.h
- indra/viewer_components/updater/llupdateinstaller.cpp 6 additions, 6 deletionsindra/viewer_components/updater/llupdateinstaller.cpp
Loading
Please register or sign in to comment