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:
parent
a0a1d9c581
commit
6a86cc612d
@ -57,7 +57,7 @@ void myComplexCodeWithMultipleReturnPoints(int v)
|
|||||||
if (v == -1)
|
if (v == -1)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
int v2 = code_that_might_through_exceptions();
|
int v2 = code_that_might_throw_exceptions();
|
||||||
|
|
||||||
if (v2 == -1)
|
if (v2 == -1)
|
||||||
return;
|
return;
|
||||||
|
@ -33,7 +33,7 @@ QT_BEGIN_NAMESPACE
|
|||||||
\class QScopeGuard
|
\class QScopeGuard
|
||||||
\since 5.12
|
\since 5.12
|
||||||
\inmodule QtCore
|
\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.
|
a scope.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user