diff options
| author | Nat Goodspeed <nat@lindenlab.com> | 2021-09-23 17:09:16 -0400 | 
|---|---|---|
| committer | Nat Goodspeed <nat@lindenlab.com> | 2021-09-23 17:09:16 -0400 | 
| commit | 1c3d2876ac2b5212976bde9cd4fdea485a366ab9 (patch) | |
| tree | 0de111618bc95aa27516d3f76d00e0b9c4631fef /indra/llcommon/tests | |
| parent | 274fc85fcbbe37f491f2d78b8b0f0b4ebb7bba26 (diff) | |
DRTVWR-543: Consistently use ClassicCallback<USERDATA> throughout.
Diffstat (limited to 'indra/llcommon/tests')
| -rw-r--r-- | indra/llcommon/tests/classic_callback_test.cpp | 8 | 
1 files changed, 1 insertions, 7 deletions
diff --git a/indra/llcommon/tests/classic_callback_test.cpp b/indra/llcommon/tests/classic_callback_test.cpp index 232532b1c1..c060775c24 100644 --- a/indra/llcommon/tests/classic_callback_test.cpp +++ b/indra/llcommon/tests/classic_callback_test.cpp @@ -22,7 +22,7 @@  #include "../test/lltut.h"  /***************************************************************************** -*   example callback accepting only (void* userdata) +*   example callback  *****************************************************************************/  // callback_t is part of the specification of someAPI()  typedef void (*callback_t)(const char*, void*); @@ -47,12 +47,6 @@ struct MyCallback      std::string mMsg;  }; -// a function for which I want to bind other data -void callback_with_extra(const std::string& extra, void*) -{ -    std::cout << "callback_with_extra('" << extra << "', *)\n"; -} -  /*****************************************************************************  *   example callback accepting several params, and void* userdata isn't first  *****************************************************************************/  | 
