Skip to content

Conversation

jlsantiago0
Copy link
Contributor

C++20: template ID is not allowed in constructor and build fails for GCC>13 and/or c++>=20.

/home/jsantiago/tt09/srt/srtcore/sync.h:575:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  575 |     CSharedObjectPtr<T>()
      |                        ^
/home/jsantiago/tt09/srt/srtcore/sync.h:575:24: note: remove the ?< >?

@maxsharabayko maxsharabayko added this to the v1.5.4 milestone Oct 7, 2024
@maxsharabayko maxsharabayko added Type: Bug Indicates an unexpected problem or unintended behavior [core] Area: Changes in SRT library core labels Oct 7, 2024
@maxsharabayko maxsharabayko merged commit fe638be into Haivision:master Oct 7, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[core] Area: Changes in SRT library core Type: Bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants