Changeset 39715 in vbox
- Timestamp:
- Jan 7, 2012 2:05:02 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/AutoCaller.h
r28800 r39715 174 174 * { 175 175 * AutoCaller autoCaller(this); 176 * if (FAILED(autoCaller.rc())) return autoCaller.rc(); 177 * ... 176 * HRESULT hrc = autoCaller.rc(); 177 * if (SUCCEEDED(hrc)) 178 * { 179 * ... 180 * } 181 * return hrc; 182 * } 178 183 * </code> 179 184 * … … 199 204 * { 200 205 * AutoLimitedCaller autoCaller(this); 201 * if (FAILED(autoCaller.rc())) return autoCaller.rc(); 202 * ... 206 * HRESULT hrc = autoCaller.rc(); 207 * if (SUCCEEDED(hrc)) 208 * { 209 * ... 210 * } 211 * return hrc; 203 212 * </code> 204 213 * … … 244 253 * HRESULT Component::init() 245 254 * { 246 * AutoInitSpan autoInitSpan 247 * AssertReturn 255 * AutoInitSpan autoInitSpan(this); 256 * AssertReturn(autoInitSpan.isOk(), E_FAIL); 248 257 * ... 249 258 * if (FAILED(rc))
Note:
See TracChangeset
for help on using the changeset viewer.