[haiku-commits] haiku: hrev43356 - src/kits/tracker

  • From: stpere@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 28 Nov 2011 18:59:56 +0100 (CET)

hrev43356 adds 1 changeset to branch 'master'
old head: 7e2f796c901c4d3eba299728d0334971ce4b865b
new head: 04847eccdf2a7d2158959b44e4cbf18eb34fdbd4

----------------------------------------------------------------------------

1 files changed, 2 insertions(+), 2 deletions(-)
src/kits/tracker/Utilities.h |    4 ++--

############################################################################

Revision:    hrev43356
Commit:      04847eccdf2a7d2158959b44e4cbf18eb34fdbd4
URL:         http://cgit.haiku-os.org/haiku/commit/?id=04847ec
Author:      Philippe Saint-Pierre <stpere@xxxxxxxxx>
Date:        Mon Nov 28 17:58:31 2011 UTC

Fix style coding violation (possibly causing confusion)

----------------------------------------------------------------------------

diff --git a/src/kits/tracker/Utilities.h b/src/kits/tracker/Utilities.h
index 564efb5..c420e6e 100644
--- a/src/kits/tracker/Utilities.h
+++ b/src/kits/tracker/Utilities.h
@@ -502,10 +502,10 @@ void
 ThrowOnInitCheckError(InitCheckable *item)
 {
        if (!item)
-               throw(status_t) B_ERROR;
+               throw (status_t)B_ERROR;
        status_t error = item->InitCheck();
        if (error != B_OK)
-               throw(status_t) error;
+               throw (status_t)error;
 }
 
 #if DEBUG


Other related posts: