Skip to content

Commit

Permalink
Fix template-id-cdtor error in static_support_smart_ptr.h (project-ch…
Browse files Browse the repository at this point in the history
  • Loading branch information
yyzhong-g authored May 21, 2024
1 parent 1fe5d3c commit 70dc5a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/support/static_support_smart_ptr.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ template <class T>
class CheckedGlobalInstanceReference
{
public:
CheckedGlobalInstanceReference<T>() = default;
CheckedGlobalInstanceReference() = default;
CheckedGlobalInstanceReference(T * e) { VerifyOrDie(e == GlobalInstanceProvider<T>::InstancePointer()); }
CheckedGlobalInstanceReference & operator=(T * value)
{
Expand Down Expand Up @@ -89,7 +89,7 @@ template <class T>
class SimpleInstanceReference
{
public:
SimpleInstanceReference<T>() = default;
SimpleInstanceReference() = default;
SimpleInstanceReference(T * e) : mValue(e) {}
SimpleInstanceReference & operator=(T * value)
{
Expand Down

0 comments on commit 70dc5a8

Please sign in to comment.