refactor: fix x64 compilation issues in Common,ObjCommon,ObjCompiling,ObjImage components

This commit is contained in:
Jan authored and Jan Laupetin committed 2025-04-26 19:08:16 +02:00
1 parent 5635470b6e
commit ee4301952a
18 files changed
+116 -119

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ bool CsvHeaderRow::RequireIndexForHeader(const std::string& headerName, unsigned
if (existingHeader == m_header_row.end())
return false;
out = std::distance(m_header_row.begin(), existingHeader);
out = static_cast<unsigned>(std::distance(m_header_row.begin(), existingHeader));
return true;
}
+1 -1
View File
@@ -13,7 +13,7 @@ public:
bool Read(const CsvInputStream& inputStream);
const std::string& HeaderNameForColumn(unsigned columnIndex) const;
[[nodiscard]] const std::string& HeaderNameForColumn(unsigned columnIndex) const;
bool RequireIndexForHeader(const std::string& headerName, unsigned& out) const;
[[nodiscard]] std::optional<unsigned> GetIndexForHeader(const std::string& headerName) const;