diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 57f784b9..89f200dc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: - name: version-check # Fails the release if the release-tag doesn't match the Nunavut version at that tag. run: | - $(./.github/verify.py -vv --version-check-only "2.3.5.dev0") + $(./.github/verify.py -vv --version-check-only "2.3.4.dev0") - name: lint run: tox -e lint - name: test-nnvg diff --git a/src/nunavut/lang/cpp/templates/_composite_type.j2 b/src/nunavut/lang/cpp/templates/_composite_type.j2 index bf58b165..ef35856e 100644 --- a/src/nunavut/lang/cpp/templates/_composite_type.j2 +++ b/src/nunavut/lang/cpp/templates/_composite_type.j2 @@ -64,7 +64,7 @@ struct {% if composite_type.deprecated -%} {% else %} static constexpr bool IsServiceType = false; {% endif %} - static constexpr char FullNameAndVersion[] = "{{ composite_type }}"; + static constexpr const char* FullNameAndVersion() { return "{{ composite_type }}"; } {% assert composite_type.extent % 8 == 0 %} {%- assert composite_type.inner_type.extent % 8 == 0 %} /// Extent is the minimum amount of memory required to hold any serialized representation of any compatible