Proper define of NDEBUG to avoid adding assertions in string benchmarks

This commit is contained in:
Patrick Pelissier committed 2022-03-25 22:45:08 +01:00
1 parent ccfddb0685
commit e613b5c624
2 files changed
+4 -1

No files matched your search

+2
View File
@@ -22,6 +22,8 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#define NDEBUG
#include <string>
#include <sstream>
#include <string>
+2 -1
View File
@@ -48,11 +48,12 @@
*
*/
#define NDEBUG
#include <stdio.h>
#include <time.h>
#include <limits.h>
#define NDEBUG
#define M_USE_SMALL_NAME 0
#include "common.h"