diff options
| author | Nat Goodspeed <nat@lindenlab.com> | 2019-08-12 08:26:51 -0400 | 
|---|---|---|
| committer | Nat Goodspeed <nat@lindenlab.com> | 2019-08-12 08:26:51 -0400 | 
| commit | f0fa4f94a5400fe5d21cf5bf7570129916bf9787 (patch) | |
| tree | 4b9ac64f2258dc6713eba0c5a793ec11965000e3 /indra/newview | |
| parent | adb3f447b33e42bdb6e4a5a1ac79eebd862dafb4 (diff) | |
DRTVWR-493: Make catch_llerrs() a member of WrapLLErrs.
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/tests/llxmlrpclistener_test.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/indra/newview/tests/llxmlrpclistener_test.cpp b/indra/newview/tests/llxmlrpclistener_test.cpp index f9a4ec373a..dbaae7280c 100644 --- a/indra/newview/tests/llxmlrpclistener_test.cpp +++ b/indra/newview/tests/llxmlrpclistener_test.cpp @@ -88,7 +88,7 @@ namespace tut          WrapLLErrs capture;          LLSD request;          request["uri"] = uri; -        std::string threw = catch_llerrs([&pumps, &request](){ +        std::string threw = capture.catch_llerrs([&pumps, &request](){                  pumps.obtain("LLXMLRPCTransaction").post(request);              });          ensure_contains("threw exception", threw, "missing params"); @@ -107,7 +107,7 @@ namespace tut          request["reply"] = "reply";          LLSD& params(request["params"]);          params["who"]["specifically"] = "world"; // LLXMLRPCListener only handles scalar params -        std::string threw = catch_llerrs([&pumps, &request](){ +        std::string threw = capture.catch_llerrs([&pumps, &request](){                  pumps.obtain("LLXMLRPCTransaction").post(request);              });          ensure_contains("threw exception", threw, "unknown type"); | 
