Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

Commit

Permalink
Changing U() macro to _XPLATSTR() in public headers
Browse files Browse the repository at this point in the history
Helps avoid conflicts if _TURN_OFF_PLATFORM_STRING is defined
  • Loading branch information
moozzyk committed Jul 15, 2016
1 parent 7ee9305 commit 9cd0db8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ artifacts/
src/signalrclientdll/version.h
/.vs/
build.*
signalrclient.VC.VC.opendb
signalrclient.VC.db
2 changes: 1 addition & 1 deletion include/signalrclient/connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace signalr
public:
typedef std::function<void __cdecl(const utility::string_t&)> message_received_handler;

SIGNALRCLIENT_API explicit connection(const utility::string_t& url, const utility::string_t& query_string = U(""),
SIGNALRCLIENT_API explicit connection(const utility::string_t& url, const utility::string_t& query_string = _XPLATSTR(""),
trace_level trace_level = trace_level::all, std::shared_ptr<log_writer> log_writer = nullptr);

SIGNALRCLIENT_API ~connection();
Expand Down

0 comments on commit 9cd0db8

Please sign in to comment.