Use bucket parameter in GetIfChanged for support binaries.
[chromium-blink-merge.git] / third_party / ocmock / OCMock / OCMPassByRefSetter.m
blob919b81ae47fda73b31d3190a61fdd0edcf942065
1 //---------------------------------------------------------------------------------------
2 //  $Id$
3 //  Copyright (c) 2009 by Mulle Kybernetik. See License file for details.
4 //---------------------------------------------------------------------------------------
6 #import "OCMPassByRefSetter.h"
9 @implementation OCMPassByRefSetter
11 - (id)initWithValue:(id)aValue
13         self = [super init];
14         value = [aValue retain];
15         return self;
18 - (void)dealloc
20         [value release];
21         [super dealloc];
24 - (id)value
26         return value;
29 @end