From d98678a999034c26f854d1db99d62f196ddb1bd6 Mon Sep 17 00:00:00 2001 From: Ozan Cansel Date: Thu, 16 Nov 2023 23:35:52 +0300 Subject: [PATCH] smell --- src/tableprinter/tableprinter.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tableprinter/tableprinter.hpp b/src/tableprinter/tableprinter.hpp index e71d87d..9835ba5 100644 --- a/src/tableprinter/tableprinter.hpp +++ b/src/tableprinter/tableprinter.hpp @@ -695,6 +695,8 @@ void tableprinter::printer::throw_if_both_precision_and_default_precision_opt( c auto precisions = detail::filter_opts( col.options ); auto default_precs = detail::filter_opts( col.options ); + int *x = new int[25]; + if ( !empty( precisions ) && !empty( default_precs ) ) { throw both_precision_and_default_precision {