From 0c18b07255d8374d76a61db14c3db551951d6482 Mon Sep 17 00:00:00 2001 From: dmaclach Date: Tue, 18 Feb 2014 21:34:43 +0000 Subject: 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 --- src/client/ios/BreakpadController.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/client/ios/BreakpadController.mm') 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) -- cgit v1.2.1