summaryrefslogtreecommitdiffstats
path: root/macosx/HBDistributedArray.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2015-10-28 08:15:52 +0100
committerDamiano Galassi <[email protected]>2015-10-28 08:15:52 +0100
commit89c0a25d548575ac2ad9e867fa0f506fed7ad625 (patch)
tree6ae99c75b0558cb04af6842ea8b5b53bdac5c0aa /macosx/HBDistributedArray.m
parent5adcef6070a6b8f91a92d2c22e5449dab3b15a34 (diff)
MacGui: annotate the type of some arrays, and check the count of the input jobs in HBQueueController addJobsFromArray:, so we don't add an empty undo command.
Diffstat (limited to 'macosx/HBDistributedArray.m')
-rw-r--r--macosx/HBDistributedArray.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBDistributedArray.m b/macosx/HBDistributedArray.m
index 867ee4ffb..97b8378c3 100644
--- a/macosx/HBDistributedArray.m
+++ b/macosx/HBDistributedArray.m
@@ -52,9 +52,9 @@
NSString *HBDistributedArrayChanged = @"HBDistributedArrayChanged";
NSString *HBDistributedArraWrittenToDisk = @"HBDistributedArraWrittenToDisk";
-@interface HBDistributedArray ()
+@interface HBDistributedArray<ObjectType> ()
-@property (nonatomic, readonly) NSMutableArray *array;
+@property (nonatomic, readonly) NSMutableArray<ObjectType> *array;
@property (nonatomic, readonly) NSURL *fileURL;
@property (nonatomic, readwrite) NSTimeInterval modifiedTime;