From d33d942eb32b41db06b1d47ca5f751ad14cd7820 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Tue, 9 Oct 2018 16:20:22 -0500 Subject: [PATCH] fix typos --- tests/base/reference.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/base/reference.cc b/tests/base/reference.cc index a9f0d7951b..73a43d409f 100644 --- a/tests/base/reference.cc +++ b/tests/base/reference.cc @@ -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 sentinel(r); -- 2.39.5