We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 159cd5f + 70dc5a8 commit 376cc35Copy full SHA for 376cc35
src/lib/support/static_support_smart_ptr.h
@@ -54,7 +54,7 @@ template <class T>
54
class CheckedGlobalInstanceReference
55
{
56
public:
57
- CheckedGlobalInstanceReference<T>() = default;
+ CheckedGlobalInstanceReference() = default;
58
CheckedGlobalInstanceReference(T * e) { VerifyOrDie(e == GlobalInstanceProvider<T>::InstancePointer()); }
59
CheckedGlobalInstanceReference & operator=(T * value)
60
@@ -89,7 +89,7 @@ template <class T>
89
class SimpleInstanceReference
90
91
92
- SimpleInstanceReference<T>() = default;
+ SimpleInstanceReference() = default;
93
SimpleInstanceReference(T * e) : mValue(e) {}
94
SimpleInstanceReference & operator=(T * value)
95
0 commit comments