aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/RxLibrary/GRXImmediateSingleWriter.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/objective-c/RxLibrary/GRXImmediateSingleWriter.m')
-rw-r--r--src/objective-c/RxLibrary/GRXImmediateSingleWriter.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objective-c/RxLibrary/GRXImmediateSingleWriter.m b/src/objective-c/RxLibrary/GRXImmediateSingleWriter.m
index eadad6c3b6..079c11b94f 100644
--- a/src/objective-c/RxLibrary/GRXImmediateSingleWriter.m
+++ b/src/objective-c/RxLibrary/GRXImmediateSingleWriter.m
@@ -38,7 +38,7 @@
- (void)startWithWriteable:(id<GRXWriteable>)writeable {
id copiedValue = nil;
- @synchronized (self) {
+ @synchronized(self) {
if (_state != GRXWriterStateNotStarted) {
return;
}
@@ -63,7 +63,7 @@
// the original \a map function returns a new Writer of another type. So we
// need to override this function here.
- (GRXWriter *)map:(id (^)(id))map {
- @synchronized (self) {
+ @synchronized(self) {
// Since _value is available when creating the object, we can simply
// apply the map and store the output.
_value = map(_value);