Remove unused parameter from Helpers::addContantField()
The second parameter was only used for automatic template type
deduction, but never used in the implementation.
Remove it, and pass the type explicitly instead.
As a drive-by: use some ""_L1 around the obviously Latin1
string literals.
Amends 48847d09e464f1701c08cb6312d342ea60ebe421
Change-Id: I5786823d64727fdc0432c2ee3061c20bed4a2996
Reviewed-by: Rym Bouabid <rym.bouabid@qt.io>
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>
| commit | 5f59a7bd178af1e585b7a1b793ecaec8f67e5e89 |
| parent | 37b4bea70469f77b9fce2ab36dc8d96564286d19 |
| author | Ivan Solovev <ivan.solovev@qt.io> |
| committer | Ivan Solovev <ivan.solovev@qt.io> |
| commit time | Fri, 29 Aug 2025 10:02:40 +0200 |
- M src/main/resources/cpp-qt6-client/api-body.mustache
- M src/main/resources/cpp-qt6-client/helpers-header.mustache
- M tests/auto/colorpalette/client/client/OAIHelpers.h
- M tests/auto/colorpalette/qmlclient/client/OAIHelpers.h
- M tests/auto/mediatype/client/client/OAIHelpers.h
- M tests/auto/mediatype/client/client/OAITestApi.cpp
- M tests/auto/openapi2.0/client/client/OAIHelpers.h
- M tests/auto/operation-parameters/client/client/OAIHelpers.h
- M tests/auto/petstore/client/client/OAIHelpers.h
- M tests/auto/petstore/client/client/OAIPetApi.cpp
- M tests/auto/petstore/qmlclient/client/OAIHelpers.h
- M tests/auto/petstore/qmlclient/client/OAIPetApi.cpp