File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
tests/functional/websockets Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -577,7 +577,8 @@ namespace Concurrency { namespace streams
577577 // / The data type of the basic element of the stream.
578578 // / </typeparam>
579579 // / <param name="buffer">A stream buffer.</param>
580- basic_istream (streams::streambuf<CharType> buffer) : m_helper(std::make_shared<details::basic_istream_helper<CharType>>(buffer))
580+ template <class AlterCharType >
581+ basic_istream (streams::streambuf<AlterCharType> buffer) : m_helper(std::make_shared<details::basic_istream_helper<CharType>>(std::move(buffer)))
581582 {
582583 _verify_and_throw (details::_in_streambuf_msg);
583584 }
Original file line number Diff line number Diff line change @@ -31,4 +31,5 @@ if (NOT CPPREST_EXCLUDE_WEBSOCKETS)
3131 if (NOT TEST_LIBRARY_TARGET_TYPE STREQUAL "OBJECT" )
3232 target_link_libraries (websocketsclient_test PRIVATE websockettest_utilities)
3333 endif ()
34+ target_include_directories (websocketsclient_test PRIVATE utilities)
3435endif ()
You can’t perform that action at this time.
0 commit comments