#6018 Fix std::string/QByteArray ambiguous overload for assignment operator.

Broke build on Ubuntu 20.04, gcc 9.3.
This commit is contained in:
Kristian Bendiksen 2020-06-03 22:20:38 +02:00
parent 23202c9f15
commit cfb54a428c

View File

@ -1376,7 +1376,7 @@ int RiaApplication::launchUnitTests()
QString filterText = RiaPreferences::current()->gtestFilter();
if ( !filterText.isEmpty() )
{
::testing::GTEST_FLAG( filter ) = filterText.toLatin1();
::testing::GTEST_FLAG( filter ) = filterText.toStdString();
// Example on filter syntax
//::testing::GTEST_FLAG( filter ) = "*RifCaseRealizationParametersReaderTest*";