Cast error to status_t when throwing, otherwise it won't be caught.
CID 1962 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37969 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -205,7 +205,7 @@ Parser::Parse(Header &header)
|
||||
if (openBrackets == 0)
|
||||
return B_OK;
|
||||
|
||||
throw B_ERROR;
|
||||
throw (status_t)B_ERROR;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user