]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix typos 7316/head
authorMatthias Maier <tamiko@43-1.org>
Tue, 9 Oct 2018 21:20:22 +0000 (16:20 -0500)
committerMatthias Maier <tamiko@43-1.org>
Tue, 9 Oct 2018 21:21:46 +0000 (16:21 -0500)
tests/base/reference.cc

index a9f0d7951b2ae8fd8ad4e61ca4ddefe08b4004b5..73a43d409fe4989e5ddfa4f15f3042242742e7e8 100644 (file)
@@ -125,10 +125,10 @@ main()
   // an ExcNotUsed and aborts the program. BUT, this is a unit test and so,
   // aborting on exception is disabled and we continue execution.
   // Unfortunately, this triggers a "use after scope" memory access error
-  // when finally "Test R" goes out of scope and tries to unsubsribe from D
-  // that already got destructed.
+  // when finally "Test R" goes out of scope and tries to unsubscribe from
+  // D that already got destroyed.
   //
-  // Work around this issue by creating a sentinel that gets destructed
+  // Work around this issue by creating a sentinel that gets destroyed
   // after D but before "Test R" that simply resets the SmartPointer.
   Sentinel<Test, Test> sentinel(r);
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.