From e3d54abe0db541c6a1fe82f673fd22a19812dadb Mon Sep 17 00:00:00 2001 From: Chris Djali Date: Tue, 13 Oct 2026 18:42:36 +0100 Subject: [PATCH] Add const to variadic write overload All the write implementations it can call take const pointers, so this shouldn't stop anything from compiling that worked before, but it makes this overload usable in const write implementations (which all of them are) without making a temporary copy of fields. --- include/vsg/io/Output.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/vsg/io/Output.h b/include/vsg/io/Output.h index cc547e4d52..523a2cc8c6 100644 --- a/include/vsg/io/Output.h +++ b/include/vsg/io/Output.h @@ -177,7 +177,7 @@ namespace vsg /// match propertyname and write value(s) template - void write(const char* propertyName, Args&... args) + void write(const char* propertyName, const Args&... args) { writePropertyName(propertyName);