1. Matt Oswald
  2. xUnit++

Commits

Matt Oswald  committed b584fd8

found another place I was overzealous with std::move again

  • Participants
  • Parent commits 91ef7f3
  • Branches default

Comments (0)

Files changed (1)

File xUnit++/xUnit++/TestCollection.h

View file
             int id = 0;
             for (auto t : theoryData())
             {
-                auto fullParams = GetTheoryParams(SplitParams(std::move(params)), std::forward<decltype(t)>(t));
+                auto fullParams = GetTheoryParams(SplitParams(std::string(params)), std::forward<decltype(t)>(t));
 
                 collection.mTests.push_back(
                     std::make_shared<xUnitTest>(