diff options
author | dmaclach <dmaclach@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2014-02-18 21:34:43 +0000 |
---|---|---|
committer | dmaclach <dmaclach@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2014-02-18 21:34:43 +0000 |
commit | 0c18b07255d8374d76a61db14c3db551951d6482 (patch) | |
tree | 3c24ba98fdcf3d1452b0a61a5adc687f60903f41 /src/client/ios/BreakpadController.mm | |
parent | Make Linux ExceptionHandler::HandleSignal public (diff) | |
download | breakpad-0c18b07255d8374d76a61db14c3db551951d6482.tar.xz |
When the Breakpad.h header gets compiled by standard C compilers
(instead of C++) it gets upset about the default argument. Instead of
using a default argument I split the function up into two separate
functions.
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1280 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/ios/BreakpadController.mm')
-rw-r--r-- | src/client/ios/BreakpadController.mm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/ios/BreakpadController.mm b/src/client/ios/BreakpadController.mm index 4571470d..94d93d60 100644 --- a/src/client/ios/BreakpadController.mm +++ b/src/client/ios/BreakpadController.mm @@ -300,7 +300,8 @@ NSString* GetPlatform() { // A report can be sent now. if (timeToWait == 0) { [self reportWillBeSent]; - BreakpadUploadNextReport(breakpadRef_, uploadTimeParameters_); + BreakpadUploadNextReportWithParameters(breakpadRef_, + uploadTimeParameters_); // If more reports must be sent, make sure this method is called again. if (BreakpadGetCrashReportCount(breakpadRef_) > 0) |