diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-09-28 07:42:39 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-09-28 07:42:39 +0200 |
commit | bd94fae273b33cc58333c32d21ae5e425372527e (patch) | |
tree | 91424087bc86438e981119da26106fd65aa006c9 /libxsd-frontend/xml.hxx | |
parent | b15b51bc57fca8324e20df87c2b68b93bd2ac731 (diff) |
Avoid unnecessary copies
Hopefully this will also get rid of bigus -Wfree-nonheap-object on MinGW GCC
12.
Diffstat (limited to 'libxsd-frontend/xml.hxx')
-rw-r--r-- | libxsd-frontend/xml.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libxsd-frontend/xml.hxx b/libxsd-frontend/xml.hxx index df9576a..c608cfa 100644 --- a/libxsd-frontend/xml.hxx +++ b/libxsd-frontend/xml.hxx @@ -203,13 +203,13 @@ namespace XSDFrontend { } - String + const String& name () const { return name_; } - String + const String& namespace_ () const { return namespace__; |