Skip to content

Commit

Permalink
ConnectError: make ConnectErrorDomain constant extern
Browse files Browse the repository at this point in the history
This avoids duplicate symbol linker errors in certain cases (for
example, when building a dynamic library).
  • Loading branch information
Eugene Nikolskyi committed Aug 20, 2015
1 parent 7d55ee6 commit a2fdbbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Helpers/ConnectError.h
Expand Up @@ -21,7 +21,7 @@
#import <Foundation/Foundation.h>

/// The error domain for ConnectSDK errors.
NSString *const ConnectErrorDomain;
FOUNDATION_EXTERN NSString *const ConnectErrorDomain;

/*!
* Helpful status codes that augment the localizedDescriptions of NSErrors that crop up throughout many places of the SDK. Most NSErrors that Connect SDK provides will have a ConnectStatusCode.
Expand Down

0 comments on commit a2fdbbd

Please sign in to comment.