diff options
author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2010-02-03 13:07:12 +0000 |
---|---|---|
committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2010-02-03 13:07:12 +0000 |
commit | adfa2049b274a50fe289edf3e7c13d07777f5f3d (patch) | |
tree | 78b51df944b7d1f72006c4f3aaa08c7e85ac43d9 /src/VBox/Main/include/AutoCaller.h | |
parent | 7eede5c59b0ab0faab998d8dcbaa580d8eaf2e65 (diff) | |
download | VirtualBox-svn-adfa2049b274a50fe289edf3e7c13d07777f5f3d.tar.gz |
Main: coding style fixes
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@26186 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Main/include/AutoCaller.h')
-rw-r--r-- | src/VBox/Main/include/AutoCaller.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/VBox/Main/include/AutoCaller.h b/src/VBox/Main/include/AutoCaller.h index 79733fa7ac8..b1490ce187f 100644 --- a/src/VBox/Main/include/AutoCaller.h +++ b/src/VBox/Main/include/AutoCaller.h @@ -89,7 +89,7 @@ public: HRESULT rc() const { return mRC; } /** - * Returns |true| if |SUCCEEDED (rc())| is |true|, for convenience. + * Returns |true| if |SUCCEEDED(rc())| is |true|, for convenience. * |true| means the number of callers was successfully increased. */ bool isOk() const { return SUCCEEDED(mRC); } @@ -244,10 +244,10 @@ typedef AutoCallerBase<true> AutoLimitedCaller; * AutoInitSpan autoInitSpan (this); * AssertReturn (autoInitSpan.isOk(), E_FAIL); * ... - * if (FAILED (rc)) + * if (FAILED(rc)) * return rc; * ... - * if (SUCCEEDED (rc)) + * if (SUCCEEDED(rc)) * autoInitSpan.setSucceeded(); * return rc; * } @@ -340,10 +340,10 @@ private: * AutoReinitSpan autoReinitSpan (this); * AssertReturn (autoReinitSpan.isOk(), E_FAIL); * ... - * if (FAILED (rc)) + * if (FAILED(rc)) * return rc; * ... - * if (SUCCEEDED (rc)) + * if (SUCCEEDED(rc)) * autoReinitSpan.setSucceeded(); * return rc; * } @@ -477,10 +477,10 @@ private: * if (mayUninitSpan.alreadyInProgress()) * return S_OK; * ... - * if (FAILED (rc)) + * if (FAILED(rc)) * return rc; // will go back to Ready * ... - * if (SUCCEEDED (rc)) + * if (SUCCEEDED(rc)) * mayUninitSpan.acceptUninit(); // will call uninit() * return rc; * } |