From: Wolfgang Bangerth Date: Thu, 12 Sep 2024 16:40:18 +0000 (-0600) Subject: Undo the changes to the changelog files. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba7212656c9d1ddb4644b314fc89e2501bb1bf64;p=dealii.git Undo the changes to the changelog files. --- diff --git a/doc/news/3.4.0-vs-4.0.0.h b/doc/news/3.4.0-vs-4.0.0.h index ae7ddd18e6..a1913df9fd 100644 --- a/doc/news/3.4.0-vs-4.0.0.h +++ b/doc/news/3.4.0-vs-4.0.0.h @@ -385,7 +385,7 @@ contributor's names are abbreviated by WB (Wolfgang Bangerth), GK
  • Fixed: The Subscriptor uses a counter to - count how many ObserverPointer objects subscribe + count how many SmartPointer objects subscribe to the pointed-to object. This counter needs to be a volatile variable in multithreaded mode, to avoid false compiler optimizations based on the assumption that the variable cannot change between two subsequent diff --git a/doc/news/5.1.0-vs-5.2.0.h b/doc/news/5.1.0-vs-5.2.0.h index c690a9e4e4..dffcaa9eef 100644 --- a/doc/news/5.1.0-vs-5.2.0.h +++ b/doc/news/5.1.0-vs-5.2.0.h @@ -494,7 +494,7 @@ inconvenience this causes. New: Class Subscriptor receives a text argument allowing to identify the violating pointer more easily. The additional feature is being incorporated into ObserverPointer constructors throughout the + class="class">SmartPointer constructors throughout the library.
    (GK, 2005/03/16) diff --git a/doc/news/5.2.0-vs-6.0.0.h b/doc/news/5.2.0-vs-6.0.0.h index 1faa2fe8a1..46ee07061c 100644 --- a/doc/news/5.2.0-vs-6.0.0.h +++ b/doc/news/5.2.0-vs-6.0.0.h @@ -552,7 +552,7 @@ inconvenience this causes. (WB 2006/08/02)

    -
  • Changed: When there is still a ObserverPointer object +

  • Changed: When there is still a SmartPointer object pointing to another object at the time it is destroyed, this would cause the program to be aborted. However, there are cases where this is not desirable, for example here: diff --git a/doc/news/9.0.1-vs-9.1.0.h b/doc/news/9.0.1-vs-9.1.0.h index 25ee0ee089..f46900ce49 100644 --- a/doc/news/9.0.1-vs-9.1.0.h +++ b/doc/news/9.0.1-vs-9.1.0.h @@ -684,7 +684,7 @@ inconvenience this causes.

  • - Changed: ObserverPointer and Subscriptor use a `std::string` + Changed: SmartPointer and Subscriptor use a `std::string` instead of a `const char *` for subscriber identification. As a result, subscriber strings are no longer compared by their memory address but instead by their content. @@ -1287,10 +1287,10 @@ inconvenience this causes.
  • - Changed: The class Subscriptor and ObserverPointer check for dangling pointers and + Changed: The class Subscriptor and SmartPointer check for dangling pointers and use-after-move. The destructor of Subscriptor doesn't signal an error when there is still an object subscribed to it. Instead, validity is checked when - dereferencing the ObserverPointer object. + dereferencing the SmartPointer object.
    (Daniel Arndt, 2018/11/02)