diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2018-12-29 10:19:01 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2020-03-25 18:39:20 -0400 |
commit | 939d35054881d150fe5d191d6965f6a09c5d0223 (patch) | |
tree | 20f9971348d19fef9d620fdc7b319e6c53ac393e /indra/test | |
parent | 0c32c98f25f3f7d99a244a249dc08b03cd36a5b0 (diff) |
SL-793: Add LL_PRETTY_FUNCTION macro wrapping __PRETTY_FUNCTION__
which is, of course, different in Visual Studio (__FUNCSIG__).
Use LL_PRETTY_FUNCTION in DEBUG output instead of plain __FUNCTION__.
Diffstat (limited to 'indra/test')
-rw-r--r-- | indra/test/debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/test/debug.h b/indra/test/debug.h index d61eba651b..33c3ea2d27 100644 --- a/indra/test/debug.h +++ b/indra/test/debug.h @@ -64,7 +64,7 @@ private: // It's often convenient to use the name of the enclosing function as the name // of the Debug block. -#define DEBUG Debug debug(__FUNCTION__) +#define DEBUG Debug debug(LL_PRETTY_FUNCTION) // These BEGIN/END macros are specifically for debugging output -- please // don't assume you must use such for coroutines in general! They only help to |