Commit 635fbcdd authored by Mikael Holmén's avatar Mikael Holmén
Browse files

Even more fixes of implicit std::string conversions

parent eb054577
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ public:
    std::vector<std::pair<Path, bool>> Result;
    std::lock_guard<std::mutex> Lock(Mutex);
    for (const auto &It : LastDiagsHadError)
      Result.emplace_back(It.first(), It.second);
      Result.emplace_back(std::string(It.first()), It.second);
    return Result;
  }

+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ void checkNodesAreInitialized(const IndexFileIn &IndexFile,
std::map<std::string, const IncludeGraphNode &> toMap(const IncludeGraph &IG) {
  std::map<std::string, const IncludeGraphNode &> Nodes;
  for (auto &I : IG)
    Nodes.emplace(I.getKey(), I.getValue());
    Nodes.emplace(std::string(I.getKey()), I.getValue());
  return Nodes;
}