Browse Source

ios: fix compilation warning

master
Saúl Ibarra Corretgé 6 years ago
parent
commit
58887577b4
1 changed files with 4 additions and 3 deletions
  1. 4
    3
      ios/sdk/src/AudioMode.m

+ 4
- 3
ios/sdk/src/AudioMode.m View File

@@ -1,5 +1,6 @@
1 1
 /*
2
- * Copyright @ 2017-present Atlassian Pty Ltd
2
+ * Copyright @ 2018-present 8x8, Inc.
3
+ * Copyright @ 2017-2018 Atlassian Pty Ltd
3 4
  *
4 5
  * Licensed under the Apache License, Version 2.0 (the "License");
5 6
  * you may not use this file except in compliance with the License.
@@ -59,7 +60,7 @@ typedef enum {
59 60
         dispatch_queue_attr_t attributes =
60 61
         dispatch_queue_attr_make_with_qos_class(DISPATCH_QUEUE_SERIAL,
61 62
                                                 QOS_CLASS_USER_INITIATED, -1);
62
-        _workerQueue = dispatch_queue_create("WebRTCModule.queue", attributes);
63
+        _workerQueue = dispatch_queue_create("AudioMode.queue", attributes);
63 64
     }
64 65
     return self;
65 66
 }
@@ -81,7 +82,7 @@ typedef enum {
81 82
         // needed. This notification is posted on a secondary thread, so make
82 83
         // sure we switch to our worker thread.
83 84
         dispatch_async(_workerQueue, ^{
84
-            [self setCategory:_category mode:_mode error:nil];
85
+            [self setCategory:self->_category mode:self->_mode error:nil];
85 86
         });
86 87
         break;
87 88
     }

Loading…
Cancel
Save