Rename `requires` to `_requires`
`requires` is a keyword in C++20. Despite this written in C++17 as of now, some editors and linters may handle it like a keyword.
This commit is contained in:
parent
d2e9bac40c
commit
0e8e5294f4
|
@ -64,8 +64,8 @@ void Metadata::SetVersion(const std::string version) { m_version = version; }
|
|||
|
||||
void Metadata::SetLink(const std::string link) { m_link = link; }
|
||||
|
||||
void Metadata::SetRequires(const std::vector<std::string> requires) {
|
||||
m_requires = requires;
|
||||
void Metadata::SetRequires(const std::vector<std::string> _requires) {
|
||||
m_requires = _requires;
|
||||
}
|
||||
|
||||
void Metadata::Serialize(const std::filesystem::path path) const {
|
||||
|
|
Loading…
Reference in New Issue