Skip to content

Commit

Permalink
[GRMustacheContext initWithObject:parent:] asserts presence of object
Browse files Browse the repository at this point in the history
  • Loading branch information
groue committed Jul 21, 2012
1 parent abcec46 commit e3eb135
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/classes/GRMustacheContext.m
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ - (void)dealloc

- (id)initWithObject:(id)object parent:(GRMustacheContext *)parent
{
NSAssert(object, @"");
self = [self init];
if (self) {
_object = [object retain];
Expand Down

0 comments on commit e3eb135

Please sign in to comment.