Skip to content

Commit

Permalink
Fix template-id-cdtor error in static_support_smart_ptr.h (#33491)
Browse files Browse the repository at this point in the history
  • Loading branch information
yyzhong-g authored and pull[bot] committed Dec 3, 2024
1 parent 8d27b63 commit 80ead2e
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 80ead2e

Please sign in to comment.