Skip to content

Commit ae50037

Browse files
aduskettras0219-msft
authored andcommitted
fix template whitespace syntax (microsoft#715)
Some files don't have a space inbetween the '<' and '::' charachters, which will cause build failures on older toolchains. Adding a space inbetween these two characters fixes the issue. See http://autobuild.buildroot.net/results/797a9b5fdf6ab0f16f2249324b48292dfab61d9f/build-end.log for more information.
1 parent 14adc2e commit ae50037

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Release/include/cpprest/details/web_utilities.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class zero_memory_deleter
2222
public:
2323
_ASYNCRTIMP void operator()(::utility::string_t *data) const;
2424
};
25-
typedef std::unique_ptr<::utility::string_t, zero_memory_deleter> plaintext_string;
25+
typedef std::unique_ptr< ::utility::string_t, zero_memory_deleter> plaintext_string;
2626

2727
#if defined(_WIN32) && !defined(CPPREST_TARGET_XP)
2828
#if defined(__cplusplus_winrt)

Release/include/cpprest/http_client.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ class http_client
757757

758758
private:
759759

760-
std::shared_ptr<::web::http::client::http_pipeline> m_pipeline;
760+
std::shared_ptr< ::web::http::client::http_pipeline> m_pipeline;
761761
};
762762

763763
namespace details {

Release/include/cpprest/json.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ namespace json
301301
/// <param name="fields">Field names associated with JSON values</param>
302302
/// <param name="keep_order">Whether to preserve the original order of the fields</param>
303303
/// <returns>A non-empty JSON object value</returns>
304-
static _ASYNCRTIMP json::value __cdecl object(std::vector<std::pair<::utility::string_t, value>> fields, bool keep_order = false);
304+
static _ASYNCRTIMP json::value __cdecl object(std::vector<std::pair< ::utility::string_t, value>> fields, bool keep_order = false);
305305

306306
/// <summary>
307307
/// Creates an empty JSON array

Release/include/cpprest/ws_client.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ class websocket_client_config
184184
/// <returns>Vector of all the subprotocols </returns>
185185
/// <remarks>If you want all the subprotocols in a comma separated string
186186
/// they can be directly looked up in the headers using 'Sec-WebSocket-Protocol'.</remarks>
187-
_ASYNCRTIMP std::vector<::utility::string_t> subprotocols() const;
187+
_ASYNCRTIMP std::vector< ::utility::string_t> subprotocols() const;
188188

189189
/// <summary>
190190
/// Gets the server certificate validation property.

0 commit comments

Comments
 (0)