|
@@ -84,7 +84,7 @@ int main()
|
|
|
assert(a1.use_count() == 1);
|
|
|
}
|
|
|
// Test LWG issue 2529. Only reset '__weak_ptr_' when it's already expired.
|
|
|
- // http://cplusplus.github.io/LWG/lwg-active.html#2529.
|
|
|
+ // https://cplusplus.github.io/LWG/lwg-defects.html#2529
|
|
|
// Test two different ways:
|
|
|
// * Using 'weak_from_this().expired()' in C++17.
|
|
|
// * Using 'shared_from_this()' in all dialects.
|