aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.test.include
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-07-27 12:17:50 +0200
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-07-27 14:24:52 +0200
commitfa940f41eaffa4b2a28c465a10a4c12d4b8976b8 (patch)
treed92ef58ded0d996d404b7421103e47df1e375b4f /src/Makefile.test.include
parentdfe2dc1d84436d4eae351612dbf0b92f032389be (diff)
Remove unused raw-pointer read helper from univalue
Diffstat (limited to 'src/Makefile.test.include')
-rw-r--r--src/Makefile.test.include3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile.test.include b/src/Makefile.test.include
index 224f1fe301..f2a82ce73b 100644
--- a/src/Makefile.test.include
+++ b/src/Makefile.test.include
@@ -427,8 +427,9 @@ endif
%.json.h: %.json
@$(MKDIR_P) $(@D)
$(AM_V_GEN) { \
+ echo "#include <string>" && \
echo "namespace json_tests{" && \
- echo "static unsigned const char $(*F)[] = {" && \
+ echo "static const std::string $(*F){" && \
$(HEXDUMP) -v -e '8/1 "0x%02x, "' -e '"\n"' $< | $(SED) -e 's/0x ,//g' && \
echo "};};"; \
} > "$@.new" && mv -f "$@.new" "$@"