cleanup our cmake and build warnings (#2876)

This commit is contained in:
Tyler Wilding
2023-08-08 18:53:16 -06:00
committed by GitHub
parent 59ac52721c
commit a06a6c6416
50 changed files with 136 additions and 118 deletions
+1 -1
View File
@@ -327,7 +327,7 @@ WorkspaceIRFile::WorkspaceIRFile(const std::string& content) {
std::string::size_type prev = 0;
// TODO - i hate this assignment inside a conditional, get rid of it
while ((pos = content.find('\r\n', prev)) != std::string::npos) {
while ((pos = content.find("\r\n", prev)) != std::string::npos) {
std::string line = content.substr(prev, pos - prev);
m_lines.push_back(line);
// Run any checks on that line