diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-02-27 11:22:31 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-02-27 11:22:31 -0500 |
commit | edf1a712a7ca8fd741514348e3304af6a766f4aa (patch) | |
tree | 0cecaa9b4be0958dc7ff126c30382da3781f1f60 /indra/test/print.h | |
parent | 01a94f9d8378bb1094f4272b37ed9b966703f0b6 (diff) | |
parent | ad32c066691152e6a23f025d6aa5ead0e91b7be9 (diff) |
Merge branch 'release/luau-scripting' into luau-require-impl.
Diffstat (limited to 'indra/test/print.h')
-rw-r--r-- | indra/test/print.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/test/print.h b/indra/test/print.h index 08e36caddf..749603907e 100644 --- a/indra/test/print.h +++ b/indra/test/print.h @@ -23,7 +23,9 @@ struct NONL_t {}; inline void print() { +#ifdef LL_TEST std::cerr << std::endl; +#endif } // print(NONL) is a no-op @@ -35,8 +37,10 @@ void print(NONL_t) template <typename T, typename... ARGS> void print(T&& first, ARGS&&... rest) { +#ifdef LL_TEST std::cerr << first; print(std::forward<ARGS>(rest)...); +#endif } #endif /* ! defined(LL_PRINT_H) */ |