summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2018-06-18 12:57:12 -0400
committerNat Goodspeed <nat@lindenlab.com>2018-06-18 12:57:12 -0400
commitb889c15cddccdfa5dd164388a566e4c63bbdf6f3 (patch)
tree310c489a2356992c2cde597a1fd4147fbfedf2e1 /indra
parent1d7687efb2bb8785b6a2a2f620d05fe1cb84f922 (diff)
SL-821: Fix BugSplat attachment method override per BugSplat support.
The example code on the BugSplat documentation page https://www.bugsplat.com/docs/platforms/os-x#configuration omits certain essential Objective-C++ boilerplate incantations. Adding them at least compiles successfully.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llappdelegate-objc.mm6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llappdelegate-objc.mm b/indra/newview/llappdelegate-objc.mm
index 008203fd32..11a4b5d48e 100644
--- a/indra/newview/llappdelegate-objc.mm
+++ b/indra/newview/llappdelegate-objc.mm
@@ -194,7 +194,11 @@
#if defined(LL_BUGSPLAT)
-@implementation BugsplatStartupManagerDelegate
+// per Geoff at BugSplat support
+@interface AppDelegate : NSObject <NSApplicationDelegate, BugsplatStartupManagerDelegate>
+@end
+
+@implementation AppDelegate
- (BugsplatAttachment *)attachmentForBugsplatStartupManager:(BugsplatStartupManager *)bugsplatStartupManager {
std::string logfile = getLogFilePathname();