From: Florian Zeitz Date: Sun, 23 Jun 2013 19:34:35 +0000 (+0200) Subject: Adapt to ObjFW exception API changes X-Git-Url: https://cgit.babelmonkeys.de/?a=commitdiff_plain;h=ee13e689c5b723dfd93e6aab0cd9bc1d9992d65e;p=jubjub.git Adapt to ObjFW exception API changes --- diff --git a/src/gui/cli/linenoise.m b/src/gui/cli/linenoise.m index 4bfd7df..726726c 100644 --- a/src/gui/cli/linenoise.m +++ b/src/gui/cli/linenoise.m @@ -590,9 +590,7 @@ static void linenoiseAtExit(void) - (void)setMaximalHistoryLength: (size_t)len { if (len < 1) - @throw [OFInvalidArgumentException - exceptionWithClass: [self class] - selector: _cmd]; + @throw [OFInvalidArgumentException exception]; OFMutableArray *old = _history, *new; int tocopy = len < [old count] ? len : [old count];