From 3a7d35c9036ab12e16d7696ece62cee548d594f0 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Fri, 7 Sep 2012 12:38:31 +0000 Subject: Tidy up. --- Frameworks/PostgresKit/Source/FLXPostgresError.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Frameworks') diff --git a/Frameworks/PostgresKit/Source/FLXPostgresError.m b/Frameworks/PostgresKit/Source/FLXPostgresError.m index 32f8fa72..033c56b0 100644 --- a/Frameworks/PostgresKit/Source/FLXPostgresError.m +++ b/Frameworks/PostgresKit/Source/FLXPostgresError.m @@ -33,8 +33,8 @@ @interface FLXPostgresError () -- (void)_extractErrorDetailsFromResult:(PGresult *)result; -- (NSString *)_extractErrorField:(int)field fromResult:(PGresult *)result; +- (void)_extractErrorDetailsFromResult:(const PGresult *)result; +- (NSString *)_extractErrorField:(int)field fromResult:(const PGresult *)result; @end @@ -87,7 +87,7 @@ * * @param result The Postgres result to extract the information from. */ -- (void)_extractErrorDetailsFromResult:(PGresult *)result +- (void)_extractErrorDetailsFromResult:(const PGresult *)result { // Note that we don't expose all the fields that are available. // The ones we don't mostly include information internal to Postgres @@ -113,7 +113,7 @@ * * @return A string representing the error value. The caller is responsible for freeing the associated memory. */ -- (NSString *)_extractErrorField:(int)field fromResult:(PGresult *)result +- (NSString *)_extractErrorField:(int)field fromResult:(const PGresult *)result { return [[NSString alloc] initWithUTF8String:PQresultErrorField(result, field)]; } -- cgit v1.2.3