From a219d335ea7fde9c19bd768f41cf2b5e0ecc0bb0 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Thu, 28 Aug 2025 11:15:53 +0200 Subject: [PATCH] to_string() default to True --- src/ifcwrap/IfcParseWrapper.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcwrap/IfcParseWrapper.i b/src/ifcwrap/IfcParseWrapper.i index 7bc397a143..8699151993 100644 --- a/src/ifcwrap/IfcParseWrapper.i +++ b/src/ifcwrap/IfcParseWrapper.i @@ -357,7 +357,7 @@ static IfcUtil::ArgumentType helper_fn_attribute_type(const IfcUtil::IfcBaseClas return oss.str(); } - std::string to_string(bool valid_spf) const { + std::string to_string(bool valid_spf = true) const { std::ostringstream oss; $self->toString(oss, valid_spf); return oss.str();