Skip to content
This repository has been archived by the owner on May 19, 2018. It is now read-only.

Commit

Permalink
Corrected const qualifier on RXMockNull.
Browse files Browse the repository at this point in the history
  • Loading branch information
robrix committed Apr 9, 2010
1 parent 48958b6 commit 428eb6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RXMockObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

// use RXMockNull to represent a nil return or a nil value in an argument list.
// this is used instead of +[NSNull null] to let us use +[NSNull null] in our tests themselves.
extern NSString const *RXMockNull;
extern const NSString *RXMockNull;

@interface RXMockObject : NSObject {
NSMutableDictionary *responses;
Expand Down
2 changes: 1 addition & 1 deletion RXMockObject.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#import "RXMockObject.h"
#import <objc/runtime.h>

NSString const *RXMockNull = @"RXMockNull";
const NSString *RXMockNull = @"RXMockNull";

@implementation RXMockObject

Expand Down

0 comments on commit 428eb6b

Please sign in to comment.