From df5cc0b27cd274a86b6686c86ae38d30f0a897b7 Mon Sep 17 00:00:00 2001 From: JohnnyB Date: Tue, 30 Jan 2024 18:04:51 +0000 Subject: [PATCH] Comment on removing xxd. XXD-> string literals --- examples/server/deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/server/deps.sh b/examples/server/deps.sh index 5e8e185f7..c0a9de9f9 100755 --- a/examples/server/deps.sh +++ b/examples/server/deps.sh @@ -15,7 +15,7 @@ cd $PUBLIC for FILE in $FILES; do echo "generate $FILE.hpp" - # use simple flag for old version of xxd + # Use C++11 string literals instead of ugly xxd. f=$(echo $FILE | sed 's/\./_/g' -e 's/-/_/g') echo "const char $f[] = R\"LITERAL(" > $DIR/$FILE.hpp cat $FILE >> $DIR/$FILE.hpp