summaryrefslogtreecommitdiff
path: root/test/testHelpers.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-06-04 18:01:10 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-06-04 18:01:10 +0100
commit2c87aa33dfde23920d1dccd04c472c8884118b90 (patch)
treea90075a27f8490d440957526bf05c9dd6121bc0a /test/testHelpers.h
parentAssign an id to the root project (diff)
downloadilt-2c87aa33dfde23920d1dccd04c472c8884118b90.tar.bz2
ilt-2c87aa33dfde23920d1dccd04c472c8884118b90.tar.xz
ilt-2c87aa33dfde23920d1dccd04c472c8884118b90.zip
Replace messy uasprintf with std::format
Diffstat (limited to 'test/testHelpers.h')
-rw-r--r--test/testHelpers.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/testHelpers.h b/test/testHelpers.h
index 58e4372..c9fd6dc 100644
--- a/test/testHelpers.h
+++ b/test/testHelpers.h
@@ -6,9 +6,6 @@
#include <fstream>
#include <iomanip> // IWYU pragma: keep std::setprecision
#include <jsonParse-persistence.h>
-#include <memory>
-
-std::unique_ptr<char, decltype(&free)> uasprintf(const char * fmt, ...) __attribute__((format(printf, 1, 2)));
template<typename T>
decltype(auto)