Skip to content

Commit c1b266c

Browse files
committed
Removing unused function _check_streambuf in http_win8.cpp and extra whitespace in source.proj.
1 parent 137da4f commit c1b266c

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

Release/src/build/sources.proj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,6 @@
213213
</ClCompile>
214214
</ItemGroup>
215215

216-
217216
<!-- PPLX files for pre-Dev12 toolsets go here -->
218217
<ItemGroup Condition="'$(PlatformToolset)' == 'v110' or '$(PlatformToolset)' == 'v110_xp' or '$(PlatformToolset)' == 'v110_wp80'">
219218
<ClCompile Include="$(CasablancaSrcDir)\pplx\pplx.cpp">

Release/src/http/client/http_win8.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -316,20 +316,6 @@ class winrt_client : public _http_client_communicator
316316
winrt_client(http::uri address, http_client_config client_config)
317317
: _http_client_communicator(std::move(address), std::move(client_config)) { }
318318

319-
private:
320-
static bool _check_streambuf(std::shared_ptr<winrt_request_context> winhttp_context, concurrency::streams::streambuf<uint8_t> rdbuf, const utility::char_t* msg)
321-
{
322-
if ( !rdbuf.is_open() )
323-
{
324-
auto eptr = rdbuf.exception();
325-
if ( eptr )
326-
winhttp_context->report_exception(eptr);
327-
else
328-
winhttp_context->report_exception(http_exception(msg));
329-
}
330-
return rdbuf.is_open();
331-
}
332-
333319
protected:
334320

335321
// Method to open client.

0 commit comments

Comments
 (0)