fix compilation with shipping flag

This commit is contained in:
AzaezelX 2020-08-17 00:12:21 -05:00
parent fb7ae70676
commit a31c71b009

View file

@ -153,7 +153,7 @@
#ifdef TORQUE_DEBUG
#define TORQUE_GATHER_METRICS 0
#define TORQUE_ENABLE_PROFILE_PATH
#ifndef TORQUE_DEBUG_GUARD
#define TORQUE_DEBUG_GUARD
#endif
@ -180,7 +180,9 @@
// Enable the profiler by default, if we're not doing a shipping build.
#define TORQUE_ENABLE_PROFILER
#ifdef TORQUE_DEBUG
#define TORQUE_ENABLE_PROFILE_PATH
#endif
// Enable the TorqueScript assert() instruction if not shipping.
#define TORQUE_ENABLE_SCRIPTASSERTS