Fix a couple of small doc things in relation to QScopeGuard

Change-Id: I6e61a18697b95d9e3f534d1d71ebf32fdff4a04f
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
This commit is contained in:
Andy Shaw 2019-03-08 07:27:39 +01:00 committed by Tor Arne Vestbø
parent a0a1d9c581
commit 6a86cc612d
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ void myComplexCodeWithMultipleReturnPoints(int v)
if (v == -1)
return;
int v2 = code_that_might_through_exceptions();
int v2 = code_that_might_throw_exceptions();
if (v2 == -1)
return;

View File

@ -33,7 +33,7 @@ QT_BEGIN_NAMESPACE
\class QScopeGuard
\since 5.12
\inmodule QtCore
\brief Provides a scope guard for calling a function at the of
\brief Provides a scope guard for calling a function at the end of
a scope.
*/