From 1cf1e63335b3f9c9c5df2633c665df560de11bae Mon Sep 17 00:00:00 2001 From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz> Date: Mon, 25 May 2020 18:22:31 +0200 Subject: [PATCH] fix ambiguous assignment in stream wrappers --- alib2integrationtest/test-src/testing/TimeoutAqlTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alib2integrationtest/test-src/testing/TimeoutAqlTest.cpp b/alib2integrationtest/test-src/testing/TimeoutAqlTest.cpp index 5637ff9a17..34723e505c 100644 --- a/alib2integrationtest/test-src/testing/TimeoutAqlTest.cpp +++ b/alib2integrationtest/test-src/testing/TimeoutAqlTest.cpp @@ -79,8 +79,8 @@ int aqlTest ( int fd_aql, const ext::vector < std::string > & queries, unsigned cli::Environment environment; std::stringstream ss; - common::Streams::out = ss; - common::Streams::err = ss; + common::Streams::out = ext::reference_wrapper < std::ostream > ( ss ); + common::Streams::err = ext::reference_wrapper < std::ostream > ( ss ); // seed cli cli::CharSequence sequence { cli::StringLineInterface ( "set seed " + ext::to_string ( seed ) ) }; -- GitLab