Skip to content

Commit

Permalink
Fix a couple of small doc things in relation to QScopeGuard
Browse files Browse the repository at this point in the history
Change-Id: I6e61a18697b95d9e3f534d1d71ebf32fdff4a04f
Reviewed-by: Tor Arne Vestbø <[email protected]>
Reviewed-by: Frederik Gladhorn <[email protected]>
  • Loading branch information
AndyShawQt authored and torarnv committed Mar 9, 2019
1 parent a0a1d9c commit 6a86cc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/corelib/tools/qscopeguard.qdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/

Expand Down

0 comments on commit 6a86cc6

Please sign in to comment.