Skip to content

Commit

Permalink
Expose FullNameAndVersion() from a DSDL type.
Browse files Browse the repository at this point in the history
  • Loading branch information
serges147 committed Nov 5, 2024
1 parent 8efda61 commit b9eba6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/nunavut/lang/cpp/templates/_composite_type.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b9eba6f

Please sign in to comment.