Skip to content

Commit

Permalink
[core] Fix build with GCC>13 and C++>=20 (#3033).
Browse files Browse the repository at this point in the history
Template ID is not allowed in constructor.
  • Loading branch information
jlsantiago0 authored Oct 7, 2024
1 parent a7b3711 commit fe638be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srtcore/sync.h
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ template <class T>
class CSharedObjectPtr : public SharedMutex
{
public:
CSharedObjectPtr<T>()
CSharedObjectPtr()
: m_pObj(NULL)
{
}
Expand Down

0 comments on commit fe638be

Please sign in to comment.